Skip to content

Commit

Permalink
fix(doc): update secretManager distributed configuration documentation (
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesjourdain committed Oct 17, 2023
1 parent e083c15 commit 8656bf6
Showing 1 changed file with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,13 @@ micronaut:
config-client:
enabled: true
aws:
secretsmanager:
secrets:
- secret-name: rds
prefix: datasources.default
- secret-name: rds_backup
prefix: datasources.backup
client:
secretsmanager:
secrets:
- secret-name: rds
prefix: datasources.default
- secret-name: rds_backup
prefix: datasources.backup
----

Note that `secret-name` is a name suffix of the secret configured in AWS Secret Manager. For example, to add `rds_backup` configuration for a `production` environment, add the `rds_backup` configuration entry to the `src/main/resources/bootstrap.yml` as shown in the example above. Also, create RDS secret in AWS Secret Manager with name `/config/application_prod/rds_backup` or `/config/[APPLICATION_NAME]_prod/rds_backup`.
Expand Down

0 comments on commit 8656bf6

Please sign in to comment.