felia/apps/secret-manager/config/hashicorp-policy/web-app-admin.hcl

36 lines
713 B
HCL
Raw Permalink Normal View History

2022-11-15 17:03:19 +00:00
# Read the configuration secret example
path "secret/config" {
capabilities = ["read"]
}
path "secret" {
capabilities = ["list"]
}
path "secret/*" {
capabilities = ["list"]
}
path "secret/c4c-web-app" {
capabilities = ["read", "list", "create", "update"]
}
path "secret/c4c-web-app/*" {
capabilities = ["read", "create", "update", "list"]
}
path "secretv2" {
capabilities = ["list"]
}
path "secretv2/*" {
capabilities = ["list"]
}
path "secretv2/c4c-web-app" {
capabilities = ["read", "list", "create", "update"]
}
path "secretv2/c4c-web-app/*" {
capabilities = ["read", "create", "update", "list"]
}
# List secrets engines
path "sys/mounts" {
capabilities = ["read"]
}