Skip to content

Commit

Permalink
update bootstrap-token doc
Browse files Browse the repository at this point in the history
  • Loading branch information
krastin committed Dec 22, 2023
1 parent 1cb00eb commit 1dde571
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Prior to setting up the data integration between Vault and Consul on Kubernetes,
First, generate and store the ACL bootstrap token in Vault. You will only need to perform this action once:

```shell-session
$ vault kv put secret/consul/bootstrap-token token="$(uuidgen | tr '[:upper:]' '[:lower:]')"
$ vault kv put consul-kv/secret/bootstrap-token token="$(uuidgen | tr '[:upper:]' '[:lower:]')"
```

## Create Vault policy
Expand All @@ -41,7 +41,7 @@ The path to the secret referenced in the `path` resource is the same value that
<CodeBlockConfig filename="bootstrap-token-policy.hcl">

```HCL
path "secret/data/consul/bootstrap-token" {
path "consul-kv/data/secret/bootstrap-token" {
capabilities = ["read"]
}
```
Expand Down Expand Up @@ -88,7 +88,7 @@ global:
manageSystemACLsRole: consul-server-acl-init
acls:
bootstrapToken:
secretName: secret/data/consul/bootstrap-token
secretName: consul-kv/data/secret/bootstrap-token
secretKey: token
```
Expand Down

0 comments on commit 1dde571

Please sign in to comment.