mirror of https://github.com/status-im/consul.git
docs: fix some examples in the new ACL guide
This commit is contained in:
parent
2c8675565d
commit
aec362d06c
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue