Skip to content

kv v1 compatibility #38

@adamwolfe-tc

Description

@adamwolfe-tc

I'm currently working on getting a count of secrets in our Vault instance and have noticed that the steampipe-plugin-vault does not appear to have a way to get info from version 1 of the secrets engine.

it's able to recognize v1 as type = kv:

> select path from vault_engine where type = 'kv';
+-----------------+
| path            |
+-----------------+
| aws-root-creds/ | # v2 
| configs/        |  # v2 
| kv/             |  # v1
+-----------------+

but does not get any counts etc from the v1 engine:

> select count(key) from vault_kv_secret where path = 'configs/';
+-------+
| count |
+-------+
| 32    |
+-------+

vs

> select count(key) from vault_kv_secret where path = 'kv/';
+-------+
| count |
+-------+
| 0     |
+-------+

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions