From b1dd5bf449f624c3b216bca686c98fe47071f638 Mon Sep 17 00:00:00 2001 From: Matt Hurne Date: Thu, 7 Jul 2016 22:31:35 -0400 Subject: [PATCH] mongodb secret backend documentation: Use single quotes around roles JSON to avoid needing to escape double quotes within the JSON --- website/source/docs/secrets/mongodb/index.html.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/source/docs/secrets/mongodb/index.html.md b/website/source/docs/secrets/mongodb/index.html.md index 47df5b9d5..c74ec5e18 100644 --- a/website/source/docs/secrets/mongodb/index.html.md +++ b/website/source/docs/secrets/mongodb/index.html.md @@ -75,7 +75,7 @@ users created for that Vault role. For example, let's create a "readonly" role: ``` -$ vault write mongodb/roles/readonly db=foo roles="[ \"readWrite\", { \"role\": \"read\", \"db\": \"bar\" } ]" +$ vault write mongodb/roles/readonly db=foo roles='[ "readWrite", { "role": "read", "db": "bar" } ]' Success! Data written to: mongodb/roles/readonly ```