MichaelBurgess / steampipe-plugin-vault

A Hashicorp Vault Plugin for Steampipe

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hashicorp Vault Plugin for Steampipe

Query HashiCorp Vault with SQL

Use SQL to query Vault. Example:

select * from vault_engine

Get Started

Installation

steampipe plugin install theapsgroup/vault

Or if you prefer, you can clone this repository and build/install from source directly.

go build -o steampipe-plugin-vault.plugin

mv steampipe-plugin-vault.plugin ~/.steampipe/plugins/hub.steampipe.io/plugins/theapsgroup/vault@latest/steampipe-plugin-vault.plugin

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

Configuration

Configuration is preferably done by ensuring you have the default Vault Environment Variables set:

  • VAULT_ADDR for the address of your Vault Server
  • VAULT_TOKEN for the API token used to access Vault

However, these can also be set in the configuration file:

vi ~/.steampipe/config/vault.spc

Testing Installation

steampipe query "select * from vault_engine"

Documentation

Further documentation can he found here

About

A Hashicorp Vault Plugin for Steampipe

License:Mozilla Public License 2.0


Languages

Language:Go 99.3%Language:PLSQL 0.7%