Updating a Vault Key
Update a vault master encryption key to change its name.
- Open the navigation menu, click Identity & Security, and then click Vault.
- Under List scope select a compartment that contains the key that you want to update.
- On the Vaults page, click the name of the vault to open its details page.
- Under Resources click Master Encryption Key and click the name of key to open its details page.
- To edit the key name, click Edit Name.
- Enter a new name for the key and click Update.
This section describes how to change the name of the key using the Command Line Interface (CLI).
Open a command prompt and run
oci kms management key update
to edit a key's name.oci kms management key update --key-id <key_OCID> --display-name <new_key_name> --endpoint <control_plane_url>Avoid entering confidential information --is-auto-rotation-enabled enabled
For example:
oci kms management key update --key-id ocid1.key.region1.sea.exampleaaacu2.examplesmtpsuqmoy4m5cvblugmizcoeu2nfc6b3zfaux2lmqz245gezevsq --display-name key-A --endpoint https://exampleaaacu2-management.kms.us-ashburn-1.oraclecloud.com --is-auto-rotation-enabled enabled
Avoid entering confidential information.
For a complete list of parameters and values for CLI commands, see KMS CLI Command Reference.
Run the UpdateKey operation to update the name of the master encryption key 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.