From 2196262eab2065474c0e324e5a8d8fb91f1d0b1b Mon Sep 17 00:00:00 2001 From: Blake Covarrubias Date: Mon, 31 May 2021 16:05:47 -0700 Subject: [PATCH] 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`. --- website/content/commands/acl/set-agent-token.mdx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/website/content/commands/acl/set-agent-token.mdx b/website/content/commands/acl/set-agent-token.mdx index 5017daba84..da27175730 100644 --- a/website/content/commands/acl/set-agent-token.mdx +++ b/website/content/commands/acl/set-agent-token.mdx @@ -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