Skip to content

Commit

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

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

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

```HCL
path "secret/data/consul/partition-token" {
path "consul-kv/data/secret/consul/partition-token" {
capabilities = ["read"]
}
```
Expand Down Expand Up @@ -90,7 +90,7 @@ global:
adminPartitionsRole: consul-partition-init
acls:
partitionToken:
secretName: secret/data/consul/partition-token
secretName: consul-kv/data/secret/partition-token
secretKey: token
```
Expand Down

0 comments on commit 18919c9

Please sign in to comment.