Friday, April 1, 2022

Azure keyvault delete completely

 When we delete any keyvault from azure, it will only be soft deleted and we can't use same name to create.


TO check whether it is soft deleted


az keyvault key list-deleted --vault-name test-kv-erwdevs-dev


TO delete completely:


After deletion, run purge also

az keyvault purge --name <keyvaultname>


REfererence:

https://docs.microsoft.com/en-us/azure/key-vault/general/soft-delete-overview

https://stackoverflow.com/questions/63789910/how-can-i-permanently-purge-an-entire-azure-keyvault-thats-been-created-with-so

No comments:

Post a Comment