Disabling a Vault Key

Learn how to disable a specified master encryption key. Note that when you disable a key, any data or resources that use the key are unusable.

    1. On the Master Encryption Keys list page, find the key that you want to work with. If you need help finding the list page, see Listing Keys.
    2. From the Actions menu Actions Menu at the end of the row entry for the key, select Disable.
    3. In the Confirm dialog, select Disable to confirm that you want to disable the key.
  • Use the oci kms management key disable command and required parameters to disable a key:

    oci kms management key disable --key-id <target_key_id> --endpoint <kmsmanagement_control_plane_URL>

    For a complete list of parameters and values for CLI commands, see the CLI Command Reference.

  • Use the DisableKey operation with the Management Endpoint to disable a vault key.

    Note

    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.