search Hashicorp vault path and secret
Project description
Vault search
This script provides the functionality to search secret paths that match a string and also display k/v when specifying a path.
Dependancies
Requirements
pip install requests aiohttp
Environmental variables
- VAULT_ADDR
- VAULT_TOKEN
- VAULT_KV_PATH
- VAULT_SKIP_VERIFY
For example:
cat ~/.vaultenv
export VAULT_ADDR=https://hashicorp-vault.local.com:8200
export VAULT_SKIP_VERIFY=1
export VAULT_TOKEN=eqw.f8-example-token-2hinwin
export VAULT_KV_PAT=secret
Usage
usage: shashvault [-h] [-sp SEARCH_PATH] [-ss SECRET_PATH]
Search and display secrets in HashiCorp Vault
optional arguments:
-h, --help show this help message and exit
-sp SEARCH_PATH, --search-path SEARCH_PATH
Text to search paths
-ss SECRET_PATH, --search-secret SECRET_PATH
Path to a specific secret
License
BSD 2-Clause License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file shashvault-0.0.2-py3-none-any.whl.
File metadata
- Download URL: shashvault-0.0.2-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
89eff29d16b9bbe800b07f2e8bf377b5e2dfc7e6c4dcce90282fae9ee4477d12
|
|
| MD5 |
5a2dba2af2eff87f52fe35dd9bc905fd
|
|
| BLAKE2b-256 |
7948593a6afeca03fea6da1aecdf6891b9d97f7428bee1cf4f737c4b016dc1df
|