Skip to main content

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


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

vault_search-0.2.11-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file vault_search-0.2.11-py3-none-any.whl.

File metadata

File hashes

Hashes for vault_search-0.2.11-py3-none-any.whl
Algorithm Hash digest
SHA256 d4a85bb7ac4b78b84b46347653562d22c5e08992260a9a91b3ca61d8171b0ec1
MD5 ced11e72dd548a7674962b86ce1c163b
BLAKE2b-256 ee78d15fa14b85e3c1cc3748fade3e22aa78b46fdf5f61592cfa82fd3a55ae1a

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page