mirror of https://github.com/hashicorp/consul
Adds session policy example to ACL internals doc.
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…
Reference in New Issue