Skip to content

Commit

Permalink
Merge pull request #45 from DFE-Digital/feature/sathish
Browse files Browse the repository at this point in the history
Terraform update secrets and keys
  • Loading branch information
SathishMani219 authored Feb 22, 2024
2 parents 2ed0f98 + b5f5934 commit aef75ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions terraform/main-hosting.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@
tenant_id = data.azurerm_client_config.current.tenant_id
object_id = local.current_user_id

secret_permissions = ["List", "Get", "Set"]
secret_permissions = ["List", "Get", "Set","Delete","Recover","Backup","Restore"]
key_permissions = ["List", "Get", "Create", "GetRotationPolicy", "SetRotationPolicy", "Delete", "Purge", "UnwrapKey", "WrapKey"]
}

resource "azurerm_key_vault_secret" "vault_secret_contentful_deliveryapikey" {
resource "azurerm_key_vault_secret" "vault_secret_contentful_deliveryapikey" {
key_vault_id = azurerm_key_vault.vault.id
name = "S190d-github-deployment-client-secret"
value = "temp value"
Expand Down

0 comments on commit aef75ca

Please sign in to comment.