Creating a Vault
Learn how to create a vault in OCI External Key Management.
To create a vault in KMS side, you 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.
Use the CreateVault API to create an external 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.