mirror of https://github.com/status-im/consul.git
config: document more acl options
This commit is contained in:
parent
a38c69d784
commit
2682ce0b82
|
@ -86,7 +86,7 @@ type RuntimeConfig struct {
|
||||||
|
|
||||||
// ACLDownPolicy is used to control the ACL interaction when we cannot
|
// ACLDownPolicy is used to control the ACL interaction when we cannot
|
||||||
// reach the ACLDatacenter and the token is not in the cache.
|
// reach the ACLDatacenter and the token is not in the cache.
|
||||||
// There are two modes:
|
// There are the following modes:
|
||||||
// * allow - Allow all requests
|
// * allow - Allow all requests
|
||||||
// * deny - Deny all requests
|
// * deny - Deny all requests
|
||||||
// * extend-cache - Ignore the cache expiration, and allow cached
|
// * extend-cache - Ignore the cache expiration, and allow cached
|
||||||
|
@ -103,7 +103,11 @@ type RuntimeConfig struct {
|
||||||
// hcl: acl_enforce_version_8 = (true|false)
|
// hcl: acl_enforce_version_8 = (true|false)
|
||||||
ACLEnforceVersion8 bool
|
ACLEnforceVersion8 bool
|
||||||
|
|
||||||
// ACLEnableKeyListPolicy ???
|
// ACLEnableKeyListPolicy is used to opt-in to the "list" policy added to
|
||||||
|
// KV ACLs in Consul 1.0.
|
||||||
|
//
|
||||||
|
// See https://www.consul.io/docs/guides/acl.html#list-policy-for-keys for
|
||||||
|
// more details.
|
||||||
//
|
//
|
||||||
// hcl: acl_enable_key_list_policy = (true|false)
|
// hcl: acl_enable_key_list_policy = (true|false)
|
||||||
ACLEnableKeyListPolicy bool
|
ACLEnableKeyListPolicy bool
|
||||||
|
|
Loading…
Reference in New Issue