Creating a Vault
Create a vault for External Key Management.
To create a vault, you will need the following details.
- The external vault endpoint URL
- Private endpoint OCID
- Oauth metadata (IDCS URL, client application ID and client application secret)
Note
You must associate the confidential client app to identity domain, and this app is bound to confidential resource app (external key management) for authorization
You must associate the confidential client app to identity domain, and this app is bound to confidential resource app (external key management) for authorization
Open a command prompt and run
oci kms management vault create
to create a new vault:oci kms management vault create –external-key-manager-metadata
For example:
oci kms management vault create vault-1
Avoid entering confidential information.
For a complete list of flags and variable options for Vault CLI commands, see Command Line Reference.
Run the
Vault
operation to create a new vault.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.