Skip to content

Commit

Permalink
Make secret name configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
EliasJorgensen committed Sep 25, 2024
1 parent 02fc144 commit 9288038
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ AWS_REGION=
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
ENABLE_SECRETS_MANAGER=false
SECRET_NAME=secrets
1 change: 1 addition & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@ services:
- AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
- AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
- ENABLE_SECRETS_MANAGER=${ENABLE_SECRETS_MANAGER}
- SECRET_NAME=${SECRET_NAME}
volumes:
- ./heimdall-storage:/var/lib/heimdall
2 changes: 1 addition & 1 deletion src/main/resources/bootstrap.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ aws.distributed-configuration.search-common-application=false
# If enabled, will resolve secret with name /config/heimdall/secrets
aws.secretsmanager.enabled=${ENABLE_SECRETS_MANAGER:false}
aws.secretsmanager.secrets[0].prefix=""
aws.secretsmanager.secrets[0].secret-name="secrets"
aws.secretsmanager.secrets[0].secret-name=${SECRET_NAME:secrets}

0 comments on commit 9288038

Please sign in to comment.