mirror of
https://github.com/hashicorp/vault.git
synced 2025-12-07 18:41:30 +01:00
parent
4c735a35d2
commit
dd459e0d16
@ -175,6 +175,40 @@ the following will work for most use-cases, assuming that your service name is
|
||||
}
|
||||
```
|
||||
|
||||
For Consul 1.4+, the following example takes into account the changed ACL
|
||||
language:
|
||||
|
||||
```json
|
||||
{
|
||||
"key_prefix": {
|
||||
"vault/": {
|
||||
"policy": "write"
|
||||
}
|
||||
},
|
||||
"node_prefix": {
|
||||
"": {
|
||||
"policy": "write"
|
||||
}
|
||||
},
|
||||
"service": {
|
||||
"vault": {
|
||||
"policy": "write"
|
||||
}
|
||||
},
|
||||
"agent_prefix": {
|
||||
"": {
|
||||
"policy": "write"
|
||||
}
|
||||
|
||||
},
|
||||
"session_prefix": {
|
||||
"": {
|
||||
"policy": "write"
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
## `consul` Examples
|
||||
|
||||
### Local Agent
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user