Prerequisites
Make sure you are in a group that has at least theeditor role within your tenant or project; for example, the default editors group. Alternatively, you can have an access permit with the editor role assigned to the required key. To check your access rights, go to the Administration → IAM section in the web console.
How to delete a key
- Web console
- CLI
- In the web console, go to Cryptography → KMS.
-
Select filters:
- Active
- Symmetric keys or Asymmetric keys
- In the line of the required key, click → Delete.
- In the window that opens, confirm the deletion.
- Click Delete key.
How to restore a key
You can restore keys up to 30 days after their deletion.- Web console
- CLI
- In the web console, go to Cryptography → KMS.
-
Select filters:
- Deleted
- Symmetric keys or Asymmetric keys
- In the line of the required key, click Restore.
- In the window that opens, confirm the restoration.