mirror of https://github.com/hashicorp/consul
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
parent
f51d08052b
commit
83230ffe45
|
@ -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>
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue