config: document more acl options

This commit is contained in:
Frank Schroeder 2017-10-19 09:03:17 +02:00
parent 32ed645df5
commit b01702f129
No known key found for this signature in database
GPG Key ID: 4D65C6EAEC87DECD
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 // 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