docs: fix some examples in the new ACL guide

This commit is contained in:
Kyle Havlovitz 2018-11-06 18:47:44 -08:00
parent 2c8675565d
commit aec362d06c
1 changed files with 2 additions and 2 deletions

View File

@ -215,7 +215,7 @@ Here's the corresponding JSON configuration file:
"default_policy": "deny", "default_policy": "deny",
"down_policy": "extend-cache", "down_policy": "extend-cache",
"tokens" : { "tokens" : {
"master" : "b1gs33cr3t", "master" : "b1gs33cr3t"
} }
} }
} }
@ -561,7 +561,7 @@ web browser session to authenticate the interface.
```bash ```bash
$ consul acl policy create -name "ui-policy" \ $ consul acl policy create -name "ui-policy" \
-description "Necessary permissions for UI functionality" -description "Necessary permissions for UI functionality" \
-rules 'key "" { policy = "write" } node "" { policy = "read" } service "" { policy = "read" }' -rules 'key "" { policy = "write" } node "" { policy = "read" } service "" { policy = "read" }'
ID: 9cb99b2b-3c20-81d4-a7c0-9ffdc2fbf08a ID: 9cb99b2b-3c20-81d4-a7c0-9ffdc2fbf08a