diff --git a/src/domains/afm-common/02_keyvault.tf b/src/domains/afm-common/02_keyvault.tf index 1c6f645a1e..42b63ee07d 100644 --- a/src/domains/afm-common/02_keyvault.tf +++ b/src/domains/afm-common/02_keyvault.tf @@ -140,7 +140,6 @@ resource "azurerm_key_vault_secret" "afm_calculator_subscription_key" { } } - data "azurerm_key_vault" "kv_nodo" { name = "pagopa-${var.env_short}-nodo-kv" resource_group_name = "pagopa-${var.env_short}-nodo-sec-rg" @@ -159,5 +158,10 @@ resource "azurerm_key_vault_secret" "db_cfg_password_read_ndp_du" { key_vault_id = module.key_vault.id } +resource "azurerm_key_vault_secret" "afm_fee_reporting_cosmos_pkey" { + name = "afm-fee-reporting-${var.env_short}-cosmos-pkey" + value = module.afm_marketplace_cosmosdb_account.primary_key + content_type = "text/plain" - + key_vault_id = module.key_vault.id +} diff --git a/src/domains/afm-secrets/secret/weu-dev/noedit_secret_enc.json b/src/domains/afm-secrets/secret/weu-dev/noedit_secret_enc.json index 2ed2587504..318beb1f4d 100644 --- a/src/domains/afm-secrets/secret/weu-dev/noedit_secret_enc.json +++ b/src/domains/afm-secrets/secret/weu-dev/noedit_secret_enc.json @@ -1,4 +1,6 @@ { + "afm-fee-reporting-s3-key-id": "ENC[AES256_GCM,data:YaOrDvXFUhKIQkFj6ZzSTS3wjXo=,iv:/x2gmiHjXNA2Slqz8JpuL7N+rNWGrd482y5nvHfFGdg=,tag:vCwKCN5ljVTke2kuuvdjtA==,type:str]", + "afm-fee-reporting-s3-key-secret": "ENC[AES256_GCM,data:XC6VYdPWPvwc+CziNKjuZ8QUaLiErgoLM//ASAPQB2ebYnRM/QgOFw==,iv:aXh2DUAyZ43UeoRPuZ3toKjGaytMv3lHYO3N/ncoFBE=,tag:esOikoegtK46W2HzrarzEg==,type:str]", "sops": { "kms": null, "gcp_kms": null, @@ -13,10 +15,10 @@ ], "hc_vault": null, "age": null, - "lastmodified": "2024-09-24T13:52:50Z", - "mac": "ENC[AES256_GCM,data:EMVjNRu+gDKhhg37yuVqkp+BIkvTAEV2fHrbC8t0R9Mify8JHB8Epr7A6I0xd3qZTmmpSiZVaRFfa704oqObX8nVnCa7xgTJ8HFw4CeEsxMDFAIvwWt9QU0jlRgfQ1Owek/i2Yat/lz1pXUKhxn+K3MhpxJNG2sbJotoi7DbXSY=,iv:GSjjtWESnX0k+fM0V5UPh4Xkcry/55N+M5PRiEAJ8DA=,tag:WUVoZ0jwFCu4FDWXw21u+A==,type:str]", + "lastmodified": "2024-09-25T15:09:41Z", + "mac": "ENC[AES256_GCM,data:eX5rCwIpA/k7kUrRchnWQBM2ygOMb2fbHgl9N/XkWjZ7b5fsDiqSzrgHVHTxAoMNEczSxnsFXCyPuCOUDrHzfzOdFTZZZtk3WZiWwZCGEbSDE9kI0IP5zk/W9Lsoinj8hsOG8a77Cx0/aU9mcK91tVzXNROLQgs3d45XjfyNQP4=,iv:oMcZz7ntv/7Tacfa1ACLubDh9QJN0Q8LCpAkDeWQUYE=,tag:riz2sLT/kLRCSGpYYDSShg==,type:str]", "pgp": null, "unencrypted_suffix": "_unencrypted", - "version": "3.7.3" + "version": "3.9.0" } } \ No newline at end of file