Created
February 13, 2018 18:02
-
-
Save cfebs/09a7667393d70bea284bdc4cfa4a786b 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
curl \ | |
--request PUT \ | |
--header "X-Consul-Token: ${MASTERKEY}" \ | |
--data \ | |
'{ | |
"Name": "vault-ge1", | |
"Type": "client", | |
"Rules": "{\"key\":{\"vault/\":{\"policy\":\"write\"}},\"node\":{\"\":{\"policy\":\"write\"}},\"service\":{\"vault\":{\"policy\":\"write\"}},\"agent\":{\"\":{\"policy\":\"write\"}},\"session\":{\"\":{\"policy\":\"write\"}}}" | |
}' http://127.0.0.1:8500/v1/acl/create |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment