Initial vault agent configuration
This commit is contained in:
18
system-admin-policy.hcl
Normal file
18
system-admin-policy.hcl
Normal 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"]
|
||||
}
|
||||
Reference in New Issue
Block a user