Skip to content

Commit

Permalink
feat(secret): add api keys for apm methods (#1889)
Browse files Browse the repository at this point in the history
  • Loading branch information
pietro-tota authored Apr 3, 2024
1 parent 069ed2d commit b71ee1a
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
36 changes: 36 additions & 0 deletions src/domains/ecommerce-common/02_security.tf
Original file line number Diff line number Diff line change
Expand Up @@ -510,3 +510,39 @@ resource "azurerm_key_vault_secret" "redirect_url_mapping" {
]
}
}

resource "azurerm_key_vault_secret" "npg_paypal_psp_keys" {
name = "npg-paypal-psp-keys"
value = "<TO UPDATE MANUALLY ON PORTAL>"
key_vault_id = module.key_vault.id

lifecycle {
ignore_changes = [
value,
]
}
}

resource "azurerm_key_vault_secret" "npg_bancomatpay_psp_keys" {
name = "npg-bancomatpay-psp-keys"
value = "<TO UPDATE MANUALLY ON PORTAL>"
key_vault_id = module.key_vault.id

lifecycle {
ignore_changes = [
value,
]
}
}

resource "azurerm_key_vault_secret" "npg_mybank_psp_keys" {
name = "npg-mybank-psp-keys"
value = "<TO UPDATE MANUALLY ON PORTAL>"
key_vault_id = module.key_vault.id

lifecycle {
ignore_changes = [
value,
]
}
}
5 changes: 5 additions & 0 deletions src/domains/ecommerce-common/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,19 @@
| [azurerm_key_vault_secret.notifications_sender](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/key_vault_secret) | resource |
| [azurerm_key_vault_secret.notifications_service_api_key](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/key_vault_secret) | resource |
| [azurerm_key_vault_secret.npg_api_key](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/key_vault_secret) | resource |
| [azurerm_key_vault_secret.npg_bancomatpay_psp_keys](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/key_vault_secret) | resource |
| [azurerm_key_vault_secret.npg_cards_psp_keys](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/key_vault_secret) | resource |
| [azurerm_key_vault_secret.npg_mybank_psp_keys](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/key_vault_secret) | resource |
| [azurerm_key_vault_secret.npg_notification_signing_key](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/key_vault_secret) | resource |
| [azurerm_key_vault_secret.npg_paypal_psp_keys](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/key_vault_secret) | resource |
| [azurerm_key_vault_secret.payment_method_api_key](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/key_vault_secret) | resource |
| [azurerm_key_vault_secret.payment_transactions_gateway_api_key](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/key_vault_secret) | resource |
| [azurerm_key_vault_secret.personal-data-vault-api-key](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/key_vault_secret) | resource |
| [azurerm_key_vault_secret.pm_oracle_db_host](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/key_vault_secret) | resource |
| [azurerm_key_vault_secret.pm_oracle_db_password](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/key_vault_secret) | resource |
| [azurerm_key_vault_secret.redirect_url_mapping](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/key_vault_secret) | resource |
| [azurerm_key_vault_secret.redis_ecommerce_access_key](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/key_vault_secret) | resource |
| [azurerm_key_vault_secret.redis_ecommerce_hostname](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/key_vault_secret) | resource |
| [azurerm_key_vault_secret.redis_ecommerce_password](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/key_vault_secret) | resource |
| [azurerm_key_vault_secret.sessions_jwt_secret](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/key_vault_secret) | resource |
| [azurerm_key_vault_secret.touchpoint_mail](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/key_vault_secret) | resource |
Expand Down

0 comments on commit b71ee1a

Please sign in to comment.