Creating a Vault
Create a vault.
Open a command prompt and run
oci kms management vault create
to create a new vault:Note
You cannot change the vault type after the vault is created.oci kms management vault create --compartment-id <vault_name>
For example:
oci kms management vault create --compartment-id compartment
For a complete list of parameters and values for CLI commands, see KMS CLI Command Reference.
Run the CreateVault operation that uses the KMSVAULT API endpoint.
Note
Each region uses the KMSVAULT API endpoint for create, update, and list operations for vault. This endpoint is referred to as the control plane URL or secret management endpoint. Each region also has a unique endpoint for operations related to retrieving vault. This endpoint is known as the data plane URL or the secret retrieval endpoint. For regional endpoints, see the API Documentation.For information about using the API and signing requests, see REST API documentation and Security Credentials. For information about SDKs, see SDKs and the CLI.