Removing a Key Assignment from a Block Volume

Remove a key assignment from a Block Volume.

    1. Open the navigation menu and click Storage. Under Block Storage, click Block Volumes.
    2. Under List Scope, in the Compartment list, choose the compartment that contains the block volume from which you want to remove a Vault service key assignment.
    3. From the list of volumes, click the volume name.
    4. Next to Encryption Key, click Unassign.

    5. In the Confirm dialog box, click OK to remove the key assignment from the volume.

  • Open a command prompt and run oci bv boot-volume-kms-key delete to remove the Vault service master encryption key assigned to an existing boot volume:

    oci bv boot-volume-kms-key delete --boot-volume-id <target_bootvolume_id>

    For example:

    
    oci bv boot-volume-kms-key delete --boot-volume-id ocid1.bootvolume.oc1.sea.exampless6hvjs6j6mqwcdv4gfzhtanon3fsqyviqeh522be6wv7x7abz7pq

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

  • This task cannot be performed using the API.