From 596700587d672af7c2d1c320e3bab7c7d1bd9733 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elias=20J=C3=B8rgensen?= Date: Thu, 26 Sep 2024 18:05:02 +0200 Subject: [PATCH] Autoresolve secrets based on environment --- src/main/resources/bootstrap.properties | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/main/resources/bootstrap.properties b/src/main/resources/bootstrap.properties index 983b6cd..1a1b201 100644 --- a/src/main/resources/bootstrap.properties +++ b/src/main/resources/bootstrap.properties @@ -1,10 +1,9 @@ micronaut.application.name=heimdall micronaut.config-client.enabled=true -aws.distributed-configuration.search-active-environments=false -aws.distributed-configuration.search-common-application=false -# If enabled, will resolve secret with name /config/heimdall/secrets +# If enabled, will resolve secret with name /config/heimdall_ENV/ +# Example secret name: /config/heimdall_staging/ aws.secretsmanager.enabled=${ENABLE_SECRETS_MANAGER:false} -aws.secretsmanager.secrets[0].prefix="" -aws.secretsmanager.secrets[0].secret-name=${SECRET_NAME:secrets} +aws.distributed-configuration.search-active-environments=true +aws.distributed-configuration.search-common-application=false