Skip to content

Commit

Permalink
Grant access to staging on KV
Browse files Browse the repository at this point in the history
  • Loading branch information
harryy94 committed Jan 27, 2025
1 parent d00e881 commit 2cc47d7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/infrastructure/terraform/keyvault.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ resource "azurerm_key_vault" "key-vault" {
tenant_id = azurerm_user_assigned_identity.web-app-identity.tenant_id
secret_permissions = ["Get"]
}
access_policy {
object_id = azurerm_user_assigned_identity.web-app-staging-identity.principal_id
tenant_id = azurerm_user_assigned_identity.web-app-staging-identity.tenant_id
secret_permissions = ["Get"]
}

network_acls {
default_action = "Allow"
Expand Down

0 comments on commit 2cc47d7

Please sign in to comment.