You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Description
Support for Enabling Soft Delete and Purge Protection for Key Vaults.
Can be done via the REST API as part of createMode or its own vault properties enablePurgeProtection and enableSoftDelete.
New or Affected Resource(s)
azurerm_key_vault
Potential Terraform Configuration
resource"azurerm_key_vault""example" {
name="testvault"location="${azurerm_resource_group.example.location}"resource_group_name="${azurerm_resource_group.example.name}"enabled_for_disk_encryption=trueenable_soft_delete=true#Specify whether the 'soft delete' functionality is enabled for this key vault. It does not accept false value.enable_purge_protection=true#The setting is effective only if soft delete is also enabled. Enabling this functionality is irreversible - that is, the property does not accept false as its value.tenant_id="d6e396d0-5584-41dc-9fc0-268df99bc610"sku_name="standard"access_policy {
tenant_id="d6e396d0-5584-41dc-9fc0-268df99bc610"object_id="d746815a-0433-4a21-b95d-fc437d2d475b"key_permissions=[
"get",
]
secret_permissions=[
"get",
]
storage_permissions=[
"get",
]
}
network_acls {
default_action="Deny"bypass="AzureServices"
}
tags={
environment ="Production"
}
}
Taking a look through this appears to be a duplicate of #1329 - rather than having multiple issues open tracking the same thing I'm going to close this issue in favour of that one; would you mind subscribing to #1329 for updates?
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks!
ghost
locked and limited conversation to collaborators
Mar 29, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Community Note
Description
Support for Enabling Soft Delete and Purge Protection for Key Vaults.
Can be done via the REST API as part of
createMode
or its own vault propertiesenablePurgeProtection
andenableSoftDelete
.New or Affected Resource(s)
azurerm_key_vault
Potential Terraform Configuration
References
The text was updated successfully, but these errors were encountered: