Utility that searching inside vault
Project description
Search in Hashicorp Vault KV
Searching in Vault first argument. Regular expressions are supported.
Required environment variables:
- VAULT_ADDR - Format is PROTOCOL+FQDN of vault instance;
- VAULT_NS - Vault namespace;
- VAULT_KV_PATH - name of KV where search will start from.
Optional environment variables:
- VAULT_INIT_KV_WEB - starting point in kv for search (example: inno/kv/creds)
- VAULT_EXCLUDE - exclude path from search (example: deploy-tags)
- VAULT_OUTPUT - output format: url, cli, path (default: cli)
Usage
vs [-h] [-i] [-e EXCLUDE] [-o OUTPUT] [-t MAX_THREADS] TEXT
positional arguments:
TEXT regexp for search
optional arguments:
-h, --help show this help message and exit
-i for case insensitive search
-e EXCLUDE exclude path (VAULT_EXCLUDE env)
-o OUTPUT url, cli, path (VAULT_OUTPUT env)
-t MAX_THREADS max threads (default: 100)
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
Close
Hashes for vault_search-0.2.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9fe7c01f1277ba6d7204c6f9e846997ce6b341f6811b6eaaf4075adcdc9d015 |
|
MD5 | f917756cf0588d824f5938bd569e0d89 |
|
BLAKE2b-256 | 4cfb77a91ff9a0d3bc43e18f9c8d3b9eac1ae8417ae44ca7c166f3adc8cf80c2 |