Skip to content

Commit

Permalink
add missing Vault policy missing "list" capability (#2000)
Browse files Browse the repository at this point in the history
Signed-off-by: pjuarezd <pjuarezd@users.noreply.github.com>
  • Loading branch information
pjuarezd authored Feb 26, 2024
1 parent 54b8fc5 commit ac0189a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 33 deletions.
2 changes: 1 addition & 1 deletion examples/vault/kes-policy.hcl
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
path "kv/my-minio/*" {
capabilities = [ "create", "read", "delete" ]
capabilities = [ "create", "read", "delete", "list" ]
}
33 changes: 1 addition & 32 deletions testing/kes-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,41 +8,10 @@ stringData:
version: v1
address: 0.0.0.0:7373 # The pseudo address 0.0.0.0 refers to all network interfaces
admin:
identity: c84cc9b91ae2399b043da7eca616048d4b4200edf2ff418d8af3835911db945d
identity: ${MINIO_KES_IDENTITY}
tls:
key: /tmp/kes/server.key
cert: /tmp/kes/server.crt
policy:
my-app:
allow:
- /v1/key/create/*
- /v1/key/import/*
- /v1/key/delete/*
- /v1/key/list/*
- /v1/key/generate/*
- /v1/key/decrypt/*
- /v1/policy/describe/*
- /v1/policy/assign/*
- /v1/policy/write/*
- /v1/policy/read/*
- /v1/policy/list/*
- /v1/policy/delete/*
- /v1/identity/describe/*
- /v1/identity/self/describe/*
- /v1/identity/delete/*
- /v1/identity/list/*
- /v1/log/audit/*
- /v1/log/error/*
- /version/*
- /v1/api/*
- /v1/metrics/*
- /v1/status/*
- /v1/status
- /v1/metrics
- /v1/api
- /version
identities:
- ${MINIO_KES_IDENTITY}
cache:
expiry:
any: 5m0s
Expand Down

0 comments on commit ac0189a

Please sign in to comment.