open-consul/website/source/docs/agent
Matt Keeler 0c76a4389f
ACL Token Persistence and Reloading (#5328)
This PR adds two features which will be useful for operators when ACLs are in use.

1. Tokens set in configuration files are now reloadable.
2. If `acl.enable_token_persistence` is set to `true` in the configuration, tokens set via the `v1/agent/token` endpoint are now persisted to disk and loaded when the agent starts (or during configuration reload)

Note that token persistence is opt-in so our users who do not want tokens on the local disk will see no change.

Some other secondary changes:

* Refactored a bunch of places where the replication token is retrieved from the token store. This token isn't just for replicating ACLs and now it is named accordingly.
* Allowed better paths in the `v1/agent/token/` API. Instead of paths like: `v1/agent/token/acl_replication_token` the path can now be just `v1/agent/token/replication`. The old paths remain to be valid. 
* Added a couple new API functions to set tokens via the new paths. Deprecated the old ones and pointed to the new names. The names are also generally better and don't imply that what you are setting is for ACLs but rather are setting ACL tokens. There is a minor semantic difference there especially for the replication token as again, its no longer used only for ACL token/policy replication. The new functions will detect 404s and fallback to using the older token paths when talking to pre-1.4.3 agents.
* Docs updated to reflect the API additions and to show using the new endpoints.
* Updated the ACL CLI set-agent-tokens command to use the non-deprecated APIs.
2019-02-27 14:28:31 -05:00
..
acl-rules.html.md Re-worked the ACL guide into two docs and an updated guide. (#5093) 2019-01-09 15:07:20 -06:00
acl-system.html.md Re-worked the ACL guide into two docs and an updated guide. (#5093) 2019-01-09 15:07:20 -06:00
basics.html.md adds link to agent config options from basic.html 2018-05-28 12:47:14 +05:30
checks.html.md Corrects defile to defined (#5262) 2019-01-25 13:45:08 -06:00
cloud-auto-join.html.md Adds newline for bullets 2019-02-13 00:54:51 +00:00
dns.html.md Implementation of Weights Data structures (#4468) 2018-09-07 15:30:47 +01:00
encryption.html.md Encryption Docs and New Guide (#5059) 2018-12-19 12:41:25 -06:00
kv.html.md [Docs] New KV documentation (#5315) 2019-02-14 10:25:17 -06:00
options.html.md ACL Token Persistence and Reloading (#5328) 2019-02-27 14:28:31 -05:00
rpc.html.md website: rename *.markdown to *.md 2017-05-17 20:25:45 +02:00
services.html.md Update services.html.md 2019-01-24 12:41:43 +00:00
telemetry.html.md New ACLs (#4791) 2018-10-19 12:04:07 -04:00
watches.html.md typo: missing space 2018-10-05 11:33:28 -05:00