Update policies.html.md
Using the latest vault release, I was getting the following error when the policy used `write`: Error: Error making API request. URL: PUT http://0.0.0.0:8200/v1/sys/policy/secret Code: 400. Errors: * Failed to parse policy: path "secret/*": invalid capability 'write' I think `create` is the correct new Capability.
This commit is contained in:
parent
6f4bd86be0
commit
7b5978634f
|
@ -31,7 +31,7 @@ policy is shown below:
|
|||
|
||||
```javascript
|
||||
path "secret/*" {
|
||||
capabilities = ["write"]
|
||||
capabilities = ["create"]
|
||||
}
|
||||
|
||||
path "secret/foo" {
|
||||
|
|
Loading…
Reference in a new issue