Creating an External Key Management Vault
Learn how to create a vault in OCI External Key Management.
- The external vault endpoint URL
- Private endpoint OCID
- Oauth metadata (IDCS URL, client application ID and client application secret)
You must associate the confidential client app to identity domain, and this app is bound to confidential resource app (external key management) for authorization
Use the oci kms management vault create command 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 parameters and values for CLI commands, see the CLI Command Reference.
Use the CreateVault API with the Management Endpoint to create an external vault.
NoteFor information about using the API and signing requests, see REST API documentation and Security Credentials. For information about SDKs, see SDKs and the CLI.
The Management Endpoint is used for management operations including Create, Update, List, Get, and Delete. The Management Endpoint is also called the control plane URL or the KMSMANAGEMENT endpoint.
The Cryptographic Endpoint is used for cryptographic operations including Encrypt, Decrypt, Generate Data Encryption Key, Sign, and Verify. The Cryptographic Endpoint is also called the data plane URL or the KMSCRYPTO endpoint.
You can find the management and cryptographic endpoints in a vault's details metadata. See Getting a Vault's Details for instructions.
For regional endpoints for the Key Management, Secret Management, and Secret Retrieval APIs, see API Reference and Endpoints.
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.