Skip to content

Commit

Permalink
fix: add patch to vault setup
Browse files Browse the repository at this point in the history
  • Loading branch information
mbystedt committed Jul 25, 2024
1 parent e3cd013 commit 4ae78b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/vault-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ vault secrets enable -path=groups -version=2 kv
vault auth enable oidc
vault auth enable -path $VAULT_APPROLE_PATH approle

echo "path \"*\" { capabilities = [\"create\", \"read\", \"update\", \"delete\", \"list\", \"sudo\"] }" | vault policy write broker-policy -
echo "path \"*\" { capabilities = [\"create\", \"read\", \"update\", \"delete\", \"list\", \"patch\", \"sudo\"] }" | vault policy write broker-policy -
vault write auth/$VAULT_APPROLE_PATH/role/$VAULT_BROKER_ROLE policies=broker-policy
vault write -force auth/$VAULT_APPROLE_PATH/role/$VAULT_AUDIT_ROLE

Expand Down

0 comments on commit 4ae78b2

Please sign in to comment.