Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@sdeoras
Created March 16, 2020 18:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sdeoras/bbe937028cf8e3778747d506da69a91d to your computer and use it in GitHub Desktop.
Save sdeoras/bbe937028cf8e3778747d506da69a91d to your computer and use it in GitHub Desktop.
Admin policy in vault
path "auth/userpass/users/+" {
capabilities = ["create", "read", "delete", "update", "list"]
allowed_parameters = {
"token-policies" = ["default", "policies/*"]
"policies" = ["default", "policies/*"]
"*" = []
}
}
path "auth/userpass/users/+/policies" {
capabilities = ["create", "read", "delete", "update", "list"]
allowed_parameters = {
"token-policies" = ["default", "policies/*"]
"policies" = ["default", "policies/*"]
"*" = []
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment