Skip to content

Commit

Permalink
feat: add secrets for checkout access (#2824)
Browse files Browse the repository at this point in the history
Co-authored-by: Simone infante <[email protected]>
  • Loading branch information
pietro-tota and infantesimone authored Feb 25, 2025
1 parent d2e826c commit 62176d0
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/domains/checkout-common/02_security.tf
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,18 @@ resource "azurerm_key_vault_secret" "checkout_opsgenie_webhook_token" {
}
}

resource "azurerm_key_vault_secret" "redis_checkout_access_key" {
name = "redis-checkout-access-key"
value = module.pagopa_checkout_redis.primary_access_key
key_vault_id = module.key_vault.id
}

resource "azurerm_key_vault_secret" "redis_checkout_hostname" {
name = "redis-checkout-hostname"
value = module.pagopa_checkout_redis.hostname
key_vault_id = module.key_vault.id
}

resource "azurerm_key_vault_secret" "checkout_oneidentity_onboarding_api_key" {
name = "checkout-oneidentity-onboarding-api-key"
value = "<TO UPDATE MANUALLY ON PORTAL>"
Expand Down

0 comments on commit 62176d0

Please sign in to comment.