Skip to content

Commit

Permalink
Autoresolve secrets based on environment
Browse files Browse the repository at this point in the history
  • Loading branch information
EliasJorgensen committed Sep 26, 2024
1 parent 9288038 commit 5967005
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/main/resources/bootstrap.properties
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 5967005

Please sign in to comment.