3-add-example-for-periodic-orphan-token #4

Merged
hygienic-books merged 7 commits from 3-add-example-for-periodic-orphan-token into master 2023-04-25 00:23:44 +00:00
Showing only changes of commit d0ed5f15ab - Show all commits

12
policies/remco/remco.hcl Normal file
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"]
}