Using Console
Using CLI
<key-id>
with the ID of the CMK that you want to disable.
<key-id>
with the ID of the CMK that you want to delete and --pending-window-in-days
with the number of days (between 7 and 30) that you want to wait before the CMK is permanently deleted.
Using Python
boto3
Python module to call the kms.delete_key()
method and pass the CMK ID as a parameter.