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 7 months ago committed by GitHub
parent f51d08052b
commit 83230ffe45
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -304,9 +304,9 @@ acl = {
### Apply the token with a command ### 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 ```shell-session
$ consul set-agent-token replication <acl-token-secret-id> $ consul acl set-agent-token replication <acl-token-secret-id>
``` ```

Loading…
Cancel
Save