Skip to content

Instantly share code, notes, and snippets.

@eric-gonzales
Created October 15, 2019 01:27
Show Gist options
  • Save eric-gonzales/de2678dcf8d0c9ae656c323383b2a602 to your computer and use it in GitHub Desktop.
Save eric-gonzales/de2678dcf8d0c9ae656c323383b2a602 to your computer and use it in GitHub Desktop.
path "secret/*" {
capabilities = ["create", "read", "update", "delete", "list"]
}
path "secret/super-secret" {
capabilities = ["deny"]
}
path "secret/restricted" {
capabilities = ["create"]
allowed_parameters = {
"foo" = []
"bar" = ["zip", "zap"]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment