mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 11:38:02 +00:00
Add policy creation to AppRole setup (#26700)
It's not immediately obvious that the demo policy needs to be created beforehand and does not exist if only the tutorial steps are followed. Prompted by support ticket ZD-143426.
This commit is contained in:
@@ -21,6 +21,11 @@ description: Installation steps for the Vault ServiceNow Credential Resolver.
|
||||
|
||||
```bash
|
||||
vault auth enable approle
|
||||
vault policy write demo - <<EOF
|
||||
path "secret/*" {
|
||||
capabilities = ["read"]
|
||||
}
|
||||
EOF
|
||||
vault write auth/approle/role/role1 bind_secret_id=true token_policies=demo
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user