consul/website/source/docs
Matt Keeler 118adbb123
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
..
agent ACL Token Persistence and Reloading (#5328) 2019-02-27 14:28:31 -05:00
commands website: fix errant mention of 'snapshot save' on docs for 'snapshot restore' 2019-02-21 13:48:20 -06:00
connect Improve Connect with Prepared Queries (#5291) 2019-02-04 09:36:51 -05:00
enterprise Doc changes for 1.4 Final (#4870) 2018-11-13 13:43:53 +00:00
guides [docs] ACL reset procedure (#5334) 2019-02-19 10:45:23 -06:00
install website: reference last command's last field instead of background PID (#5264) 2019-01-25 17:30:38 +01:00
internals Documentation and changes for `verify_server_hostname` (#5069) 2018-12-06 13:51:49 -08:00
platform/k8s [Docs] Helm Chart (#5350) 2019-02-20 18:27:28 -06:00
compatibility.html.md fix a couple html errors (#4456) 2018-07-26 16:30:24 -07:00
faq.html.md Remove all mention of Atlas, even in deprecated changelogs 2018-08-03 10:51:18 -07:00
index.html.md
upgrade-specific.html.md Update upgrade-specific.html.md (#4956) 2018-11-14 21:39:59 +00:00
upgrading.html.md Be more explicit about rolling upgrade process 2018-10-11 11:44:20 +01:00