Updated policy format to use capabilities keyword (#3063)
The `policy` key name is deprecated and has been replaced with `capabilities`.
This commit is contained in:
parent
40c1c93937
commit
8e9f54fc70
|
@ -31,15 +31,15 @@ policy is shown below:
|
|||
|
||||
```javascript
|
||||
path "secret/*" {
|
||||
policy = "write"
|
||||
capabilities = ["write"]
|
||||
}
|
||||
|
||||
path "secret/foo" {
|
||||
policy = "read"
|
||||
capabilities = ["read"]
|
||||
}
|
||||
|
||||
path "auth/token/lookup-self" {
|
||||
policy = "read"
|
||||
capabilities = ["read"]
|
||||
}
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue