Removing a Key Assignment from a Block Volume
Remove a key assignment from a Block Volume.
- Open the navigation menu and click Storage. Under Block Storage, click Block Volumes.
- 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.
- From the list of volumes, click the volume name.
-
Next to Encryption Key, click Unassign.
-
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.