theapsgroup / steampipe-plugin-vault

Use SQL to instantly query Hashicorp Vault secrets, certs and more. Open source CLI. No DB required.

Home Page:https://hub.steampipe.io/plugins/theapsgroup/vault

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

image

Hashicorp Vault Plugin for Steampipe

Use SQL to query engines, kv secrets, roles & more from your Hashicorp Vault.

Quick start

Install the plugin with Steampipe:

steampipe plugin install theapsgroup/vault

Configure the plugin using the configuration file:

vi ~/.steampipe/vault.spc

Or environment variables:

export VAULT_ADDR=https://vault.mycorp.com/
export VAULT_TOKEN=s.f7Ea3C3ojOYE0GRLzmhSGNkE

Start Steampipe:

steampipe query

Run a query:

select
  path,
  type,
  description
from
  vault_engine;

Developing

Prerequisites:

Clone:

git clone https://github.com/theapsgroup/steampipe-plugin-vault.git
cd steampipe-plugin-vault

Build, which automatically installs the new version to your ~/.steampipe/plugins directory:

make

Configure the plugin:

cp config/* ~/.steampipe/config
vi ~/.steampipe/config/vault.spc

Try it!

steampipe query
> .inspect vault

Further reading:

Contributing

All contributions are subject to the Apache 2.0 open source license.

About

Use SQL to instantly query Hashicorp Vault secrets, certs and more. Open source CLI. No DB required.

https://hub.steampipe.io/plugins/theapsgroup/vault

License:Apache License 2.0


Languages

Language:Go 98.4%Language:PLSQL 1.3%Language:Makefile 0.3%