Update create-a-replication-token.mdx

While testing the changes in my labs, found out one wrong command. Instead of "consul set-agent-token" it will be "consul acl set-agent-token".
pull/21073/head
SuyashHashiCorp 2024-05-09 19:24:07 +05:30 committed by GitHub
parent f51d08052b
commit 83230ffe45
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -304,9 +304,9 @@ acl = {
### Apply the token with a command
Set the `replication` token using the [`consul set-agent-token`](/consul/commands/acl/set-agent-token) command. The following command configures a running Consul agent token with the specified token.
Set the `replication` token using the [`consul acl set-agent-token`](/consul/commands/acl/set-agent-token) command. The following command configures a running Consul agent token with the specified token.
```shell-session
$ consul set-agent-token replication <acl-token-secret-id>
$ consul acl set-agent-token replication <acl-token-secret-id>
```