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 vault-1
Avoid entering confidential information.
For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
Run the
CreateVault
operation to create a vault.Note
Each region has a unique 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.