Update mongodbatlas.mdx (#8720)
Users copying and pasting the command are running into issues w/ the newlines so squashing example to one line.
This commit is contained in:
parent
9fecb6ac2f
commit
774afb0ee6
|
@ -46,10 +46,7 @@ more information about setting up the database secrets engine.
|
|||
```text
|
||||
$ vault write database/roles/my-role \
|
||||
db_name=my-mongodbatlas-database \
|
||||
creation_statements='{ \
|
||||
"database_name": "admin", \
|
||||
"roles": [{"databaseName":"admin","roleName":"atlasAdmin"}] \
|
||||
}' \
|
||||
creation_statements='{"database_name": "admin","roles": [{"databaseName":"admin","roleName":"atlasAdmin"}]}' \
|
||||
default_ttl="1h" \
|
||||
max_ttl="24h"
|
||||
Success! Data written to: database/roles/my-role
|
||||
|
|
Loading…
Reference in a new issue