Add policy files for Vault: admin, app_role, and identity policies

This commit is contained in:
2026-01-18 12:01:42 +01:00
parent 74a364c8e1
commit aca9f4c5ab
4 changed files with 90 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
# Mount the AppRole auth method
path "sys/auth/approle" {
capabilities = [ "create", "read", "update", "delete", "sudo" ]
}
# Configure the AppRole auth method
path "sys/auth/approle/*" {
capabilities = [ "create", "read", "update", "delete" ]
}
# Create and manage roles
path "auth/approle/*" {
capabilities = [ "create", "read", "update", "delete", "list" ]
}
# Write ACL policies
path "sys/policies/acl/*" {
capabilities = [ "create", "read", "update", "delete", "list" ]
}