theapsgroup/vault

steampipe plugin install theapsgroup/vaultsteampipe plugin install theapsgroup/vault

Table: vault_kv_secret

For working with paths for secrets in the kv engines

Note: This does not expose the contents of the secrets by design.

Examples

Get all secret keys from all kv engines

select
key,
path
from
vault_kv_secret;

Get all secret keys from a specific mounted kv engine (abc/ in this example)

select
key
from
vault_kv_secret
where
path = 'abc/';

Search for secret paths based on a fragment/keyword

select
*
from
vault_kv_secret
where
key like '%myapp%';

.inspect vault_kv_secret

Vault kv secret keys

NameTypeDescription
created_timetimestamp without time zoneThe date and time the secret was created
deletion_timetimestamp without time zoneThe date and time the secret was destroyed, if destroyed
destroyedbooleanWhether the secret was destroyed
keytextThe key/path of the kv secret
pathtextThe path (mount point) of the secrets engine
versionbigintThe current version of the secret