Merge pull request #10325 from hashicorp/docs/clarify-acl-set-agent-token-persistence

docs: Clarify set-agent-token token persistence behavior
This commit is contained in:
Daniel Nephin 2021-06-01 16:47:45 -04:00 committed by GitHub
commit a2f3d0b139
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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
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
agent is restarted.
the agent's configuration. Tokens are not persisted unless
[`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