Open pdecat opened 1 year ago
This PR renames path to mount, and splits the secret's key into path and name.
path
mount
key
name
This allows to query only some paths without loading all KV secrets from all mounts (which can be quite expensive with large Vault instances).
Sample query with this new model:
> select * from vault_kv_secret where mount = 'mymount/' and path = 'my/secret/path/' and name not like 'pattern%'
Marked as draft because:
This PR renames
path
tomount
, and splits the secret'skey
intopath
andname
.This allows to query only some paths without loading all KV secrets from all mounts (which can be quite expensive with large Vault instances).
Sample query with this new model:
Marked as draft because: