Getting a Vault Key's Details
Get information about a specific master encryption key.
- Open the navigation menu, click Identity & Security, and then click Vault.
- Under List scope, select the compartment that contains the key.
- From the list of vaults in the compartment, click a vault name.
- Click Master Encryption Key, and then click the name of the key to open its details page.
The Key Information section displays the following information: - OCID: The unique, Oracle-assigned ID of the key.
- Created: The date and time when you initially created the key.
- Compartment: The name of the compartment that contains the key.
- Vault: The name of the vault that contains the key.
- Algorithm: Specifies the algorithm selected at the time of creation.
- Length: Specifies the key length defined at the time of creation.
- Auto rotation: Specifies whether the auto rotation setting is enabled or disabled for the key.
- Last successful auto rotation: The date and time of the last successful auto rotation for the key.
- Next auto rotation: The date and time when the key is eligible for the next scheduled rotation.
Open a command prompt and run
oci kms management key rotate
to rotate a keyoci kms management key get [OPTIONS]
For example:
oci kms management key create --generate-param-json-input key-shape > key-shape.json
Cryptographic operations involving objects that were encrypted with the previous version of this key will continue to use the older key version. You can re-encrypt those objects with the current key version if you prefer.
For a complete list of parameters and values for CLI commands, see KMS CLI Command Reference.
Run the GetKeyDetails operation to get the list of master encryption keys in the specified vault and compartment using the KMSMANAGMENT endpoint.
Note
Each region uses the KMSMANAGMENT endpoint for managing keys. This endpoint is referred to as the control plane URL or vault management 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.