feat(zabbix): Add policy for a Zabbix server to use dedicated credentials (#1)

This commit is contained in:
hygienic-books 2022-09-23 22:34:51 +02:00
parent e59fee211a
commit c559e62d3f

View File

@ -0,0 +1,12 @@
# Allow listing secret parent-child connections (as in UI hierarchy). Subdir
# underneath 'kv' secrets engine will remain hidden though, user has to
# manually open up
# ${VAULT_ADDR}/ui/vault/secrets/kv/list/for_{{identity.groups.ids.GROUPID.name}}
path "kv/metadata/for_{{identity.groups.ids.GROUPID.name}}/*" {
capabilities = ["list"]
}
# Grant read-only access to secrets
path "kv/data/for_{{identity.groups.ids.GROUPID.name}}/*" {
capabilities = ["read"]
}