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.10-py3-none-any.whl (5.7 kB view hashes)

Uploaded Python 3

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