config: document more acl options

This commit is contained in:
Frank Schroeder 2017-10-19 09:03:17 +02:00 committed by Frank Schröder
parent a38c69d784
commit 2682ce0b82
1 changed files with 6 additions and 2 deletions

View File

@ -86,7 +86,7 @@ type RuntimeConfig struct {
// ACLDownPolicy is used to control the ACL interaction when we cannot
// reach the ACLDatacenter and the token is not in the cache.
// There are two modes:
// There are the following modes:
// * allow - Allow all requests
// * deny - Deny all requests
// * extend-cache - Ignore the cache expiration, and allow cached
@ -103,7 +103,11 @@ type RuntimeConfig struct {
// hcl: acl_enforce_version_8 = (true|false)
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)
ACLEnableKeyListPolicy bool