Skip to content

Commit

Permalink
Update mongodbatlas.mdx (#21704)
Browse files Browse the repository at this point in the history
Fix the error in the example for client cert credentials.

Co-authored-by: Yoko Hyakuna <yoko@hashicorp.com>
  • Loading branch information
dr-raymond-zheng and yhyakuna committed Jul 27, 2023
1 parent 24a7d96 commit f45e9b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/content/docs/secrets/databases/mongodbatlas.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ the proper permissions, it can generate credentials.
```shell-session
$ vault write database/roles/my-dynamic-certificate-role \
db_name=my-mongodbatlas-database \
creation_statements='{"database_name": "$external", "x509Type": "CUSTOMER", "roles": [{"databaseName":"$external","roleName":"readWrite"}]}' \
creation_statements='{"database_name": "$external", "x509Type": "CUSTOMER", "roles": [{"databaseName":"<db_name>","roleName":"readWrite"}]}' \
default_ttl="1h" \
max_ttl="24h" \
credential_type="client_certificate" \
Expand Down

0 comments on commit f45e9b9

Please sign in to comment.