Viewing Vault Key Versions

Viewing a list of key versions using the Console, CLI and API interfaces.

    1. Open the navigation menu, click Identity & Security, and then click Vault.
    2. Under List Scope, in the Compartment list, click the name of the compartment that contains the vault with the key you're interested in.
    3. From the list of vaults in the compartment, click the vault name.
    4. Click Master Encryption Keys, click the name of the key for which you want to see a list of key versions, and then click Versions. (If needed, first change the list scope to the compartment that contains the key, and then click the key name.)
  • Open a command prompt and run oci kms management key-version list to view a list of key versions for a specific key:

    oci kms management key-version list --key-id <key_OCID> --endpoint <control_plane_url>

    For example:

    
    oci kms management key-version list --key-id ocid1.key.region1.sea.exampleaaacu2.examplesmtpsuqmoy4m5cvblugmizcoeu2nfc6b3zfaux2lmqz245gezevsq --endpoint https://exampleaaacu2-management.kms.us-ashburn-1.oraclecloud.com

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

  • Run the GetKeyVersion operation to get information the list of master encryption key version 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.