mirror of
https://github.com/status-im/consul.git
synced 2025-01-25 13:10:32 +00:00
Adds session policy example to ACL internals doc.
This commit is contained in:
parent
2f9c05a75b
commit
4956a66638
@ -611,3 +611,13 @@ node "<node name prefix>" {
|
|||||||
|
|
||||||
This affects node registration, node discovery, service discovery, and endpoints like
|
This affects node registration, node discovery, service discovery, and endpoints like
|
||||||
`/v1/agent/members`.
|
`/v1/agent/members`.
|
||||||
|
|
||||||
|
The new `session` ACL policy looks like this:
|
||||||
|
|
||||||
|
```
|
||||||
|
session "<node name prefix>" {
|
||||||
|
policy = "<read|write|deny>"
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
This affects all the of `/v1/session` endpoints.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user