Listing the Vault
A list of vault resources created in the OCI Vault service.
Open a command prompt and run
oci kms management vault change-compartment
to move a vault from one compartment to another within the same tenancy:oci kms management vault change-compartment --vault-id <target_vault_id> --compartment-id <new_compartment_id>
For example:
Open a command prompt and run
oci kms management vault get
to view the configuration details for a vault:oci kms management vault get --vault-id <target_vault_id>
For example:
oci kms management vault get --vault-id ocid1.vault.region1.sea.exampleaaacu2.examplesrcvbtqe5wgrxn2jua3olmeausn5fauxseubwu5my5tf3w3j33edq
For a complete list of parameters and values for CLI commands, see KMS CLI Command Reference.
Run the ListVaultReplicas operation using the KMSVAULT API endpoint.
Note
Each region use the KMSVAULT API endpoint for create, update, and list operations for vault. This endpoint is referred to as the control plane URL or vault management endpoint. Each region also has a unique endpoint for operations related to retrieving vault details. 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.