From 774afb0ee6ccf53a7eb054fcccfe1304404ca555 Mon Sep 17 00:00:00 2001 From: Melissa Plunkett Date: Thu, 9 Apr 2020 17:21:09 -0500 Subject: [PATCH] Update mongodbatlas.mdx (#8720) Users copying and pasting the command are running into issues w/ the newlines so squashing example to one line. --- website/pages/docs/secrets/databases/mongodbatlas.mdx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/website/pages/docs/secrets/databases/mongodbatlas.mdx b/website/pages/docs/secrets/databases/mongodbatlas.mdx index 978f96d57..f49788fb5 100644 --- a/website/pages/docs/secrets/databases/mongodbatlas.mdx +++ b/website/pages/docs/secrets/databases/mongodbatlas.mdx @@ -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