Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: update example policy #68

Merged
merged 1 commit into from
Aug 12, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ path "sys/mounts/cf/*" {
}

# Create policies with the "cf-*" prefix
path "sys/policy/cf-*" {
path "sys/policies/acl/cf-*" {
capabilities = ["create", "update", "delete"]
}

Expand Down Expand Up @@ -430,7 +430,7 @@ Cloud Foundry Vault Broker will renew this periodic token automatically.
1. Create the policy specific for the broker:

```shell
$ vault write sys/policy/cf-broker rules=@cf-broker.hcl
$ vault write cf-broker cf-broker.hcl
```

1. Create a periodic token
Expand Down Expand Up @@ -530,7 +530,7 @@ policy may be modified by a user with permissions in Vault to add additional
capabilities. The default policy can be discovered by reading it:

```sh
$ vault read -field=rules sys/policy/cf-<instance_id>
$ vault policy read cf-<instance_id>
# ...
```

Expand Down