Skip to content

Instantly share code, notes, and snippets.

@tbeyer567
Created January 17, 2023 19:20
Show Gist options
  • Save tbeyer567/a287f62c1d0fa01a08e7fa509f2614f6 to your computer and use it in GitHub Desktop.
Save tbeyer567/a287f62c1d0fa01a08e7fa509f2614f6 to your computer and use it in GitHub Desktop.
# Read system health check
path "sys/health"
{
capabilities = ["read", "sudo"]
}
# Create and manage ACL policies broadly across Vault
# List existing policies
path "sys/policies/acl"
{
capabilities = ["list"]
}
# Create and manage ACL policies
path "sys/policies/acl/*"
{
capabilities = ["create", "read", "update", "delete", "list", "sudo"]
}
# Enable and manage authentication methods broadly across Vault
# Manage auth methods broadly across Vault
path "auth/*"
{
capabilities = ["create", "read", "update", "delete", "list", "sudo"]
}
# Create, update, and delete auth methods
path "sys/auth/*"
{
capabilities = ["create", "update", "delete", "sudo"]
}
# List auth methods
path "sys/auth"
{
capabilities = ["read"]
}
# Manage secrets engines
path "sys/mounts/*"
{
capabilities = ["create", "read", "update", "delete", "list", "sudo"]
}
# List existing secrets engines.
path "sys/mounts"
{
capabilities = ["read"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment