backport of commit f45e9b90d4068a85a8f244dd506b04008888e6bc (#22088)
Co-authored-by: dr-raymond-zheng <109351431+dr-raymond-zheng@users.noreply.github.com>
This commit is contained in:
parent
de95fe3c96
commit
295de664c2
|
@ -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" \
|
||||
|
|
Loading…
Reference in a new issue