backport of commit f45e9b90d4068a85a8f244dd506b04008888e6bc (#22088)

Co-authored-by: dr-raymond-zheng <109351431+dr-raymond-zheng@users.noreply.github.com>
This commit is contained in:
hc-github-team-secure-vault-core 2023-07-27 11:21:41 -04:00 committed by GitHub
parent de95fe3c96
commit 295de664c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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" \