diff --git a/agent/config/runtime.go b/agent/config/runtime.go index b0dd61bda..027f0a82b 100644 --- a/agent/config/runtime.go +++ b/agent/config/runtime.go @@ -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