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:
Melissa Plunkett 2020-04-09 17:21:09 -05:00 committed by GitHub
parent 9fecb6ac2f
commit 774afb0ee6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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