Initial vault agent configuration

This commit is contained in:
kaffa
2025-09-11 17:08:03 +09:00
commit 8cb0384c54
13 changed files with 196 additions and 0 deletions

18
system-admin-policy.hcl Normal file
View File

@@ -0,0 +1,18 @@
# Policy for system with broader access
path "secret/data/*" {
capabilities = ["create", "read", "update", "delete", "list"]
}
path "secret/metadata/*" {
capabilities = ["list"]
}
# Allow token renewal
path "auth/token/renew-self" {
capabilities = ["update"]
}
# Allow token lookup
path "auth/token/lookup-self" {
capabilities = ["read"]
}