Created
November 11, 2023 12:22
-
-
Save 3ng1n33r/321d4c71dbba8875414eac4ca203e247 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
vault policy write myproject-staging - <<EOF | |
# Policy name: myproject-staging | |
# | |
# Read-only permission on 'secret/myproject/staging/*' path | |
path "secret/data/myproject/staging/*" { | |
capabilities = [ "read" ] | |
} | |
EOF | |
vault policy write myproject-production - <<EOF | |
# Policy name: myproject-production | |
# | |
# Read-only permission on 'secret/myproject/production/*' path | |
path "secret/data/myproject/production/*" { | |
capabilities = [ "read" ] | |
} | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment