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:
sylvia-petsanova
2024-05-02 00:09:02 +03:00
committed by GitHub
parent 9f5da77fa0
commit 716d577190

View File

@@ -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
```