docs: Clarify set-agent-token token persistence behavior

Clarify that tokens configured via `set-agent-token` will not be
persisted if `acl.enable_token_persistence` is `false`.
This commit is contained in:
Blake Covarrubias 2021-05-31 16:05:47 -07:00
parent 665e052e96
commit 2196262eab
1 changed files with 4 additions and 2 deletions

View File

@ -9,8 +9,10 @@ Command: `consul acl set-agent-token`
This command updates the ACL tokens currently in use by the agent. It can be used to introduce This command updates the ACL tokens currently in use by the agent. It can be used to introduce
ACL tokens to the agent for the first time, or to update tokens that were initially loaded from ACL tokens to the agent for the first time, or to update tokens that were initially loaded from
the agent's configuration. Tokens are not persisted, so will need to be updated again if the the agent's configuration. Tokens are not persisted unless
agent is restarted. [`acl.enable_token_persistence`](/docs/agent/options#acl_enable_token_persistence)
is `true`, so tokens will need to be updated again if that option is `false` and
the agent is restarted.
## Usage ## Usage