Using Console
Using CLI
Using Python
azure-mgmt-keyvault
package. You can do this by running the following command:
ServicePrincipalCredentials
object and passing in your Azure credentials:
KeyVaultManagementClient
object and use it to enable recoverability:
enable_soft_delete
and enable_purge_protection
properties of the vault: