Skip to content

Commit 8656bf6

Browse files
author
charlesjourdain
committed
fix(doc): update secretManager distributed configuration documentation (micronaut-projects#1920)
1 parent e083c15 commit 8656bf6

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/main/docs/guide/distributedconfiguration/distributedconfigurationsecretsmanager.adoc

+7-6
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,13 @@ micronaut:
3030
config-client:
3131
enabled: true
3232
aws:
33-
secretsmanager:
34-
secrets:
35-
- secret-name: rds
36-
prefix: datasources.default
37-
- secret-name: rds_backup
38-
prefix: datasources.backup
33+
client:
34+
secretsmanager:
35+
secrets:
36+
- secret-name: rds
37+
prefix: datasources.default
38+
- secret-name: rds_backup
39+
prefix: datasources.backup
3940
----
4041

4142
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`.

0 commit comments

Comments
 (0)