Skip to content

Commit

Permalink
update azure keyvault example
Browse files Browse the repository at this point in the history
  • Loading branch information
HadwaAbdelhalem committed Jun 15, 2023
1 parent e12821b commit 143565f
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 24 deletions.
Binary file modified examples/azure/terraform-azure-keyvault-example/example.pfx
Binary file not shown.
50 changes: 26 additions & 24 deletions examples/azure/terraform-azure-keyvault-example/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# ---------------------------------------------------------------------------------------------------------------------

provider "azurerm" {
version = "~>2.20"
version = "~>3.0"
features {
key_vault {
purge_soft_delete_on_destroy = false
Expand Down Expand Up @@ -70,35 +70,37 @@ resource "azurerm_key_vault" "key_vault" {
object_id = data.azurerm_client_config.current.object_id

key_permissions = [
"create",
"get",
"list",
"delete",
"purge",
"Create",
"Get",
"List",
"Delete",
"Purge",
"SetRotationPolicy",
"GetRotationPolicy"
]

secret_permissions = [
"set",
"get",
"list",
"delete",
"purge",
"Set",
"Get",
"List",
"Delete",
"Purge",
]

certificate_permissions = [
"create",
"delete",
"deleteissuers",
"get",
"getissuers",
"import",
"list",
"listissuers",
"managecontacts",
"manageissuers",
"setissuers",
"update",
"purge",
"Create",
"Delete",
"DeleteIssuers",
"Get",
"GetIssuers",
"Import",
"List",
"ListIssuers",
"ManageContacts",
"ManageIssuers",
"SetIssuers",
"Update",
"Purge",
]
}
}
Expand Down

0 comments on commit 143565f

Please sign in to comment.