Skip to main content
client.kms.delete_key() deletes a key from a KMS project.
If you delete a key, you can’t decrypt any data that the key encrypted. To stop using a key without losing that data, turn the key off instead.

Parameters

str
required
The ID of the key.

Returns

KmsKey
The deleted key.