Last active
July 24, 2020 13:47
-
-
Save kaparora/edde36174ec634f3d90e8c0681dd8873 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
sudo cat << 'EOF' > /tmp/webapppolicy.hcl | |
path "data_protection/database/creds/vault-demo-app" { | |
capabilities = ["read"] | |
} | |
EOF | |
vault policy write webapp /tmp/webapppolicy.hcl |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment