Skip to main content

Secrets manager

Project description

Contributor Covenant License Code style: black

Python version Python wheels PyPI version

Commit history Code size Top language

CAVALRY

Quickly load secrets as environment variables

Getting Started

pip3 install cavalry

Usage

Run cav -h to see options. Note: the script is not POSIX compatible and requires /bin/bash.

Loading variables

The load command will run an eval on the variables exported from the function. To get these into your current scope, the file must be run with source .... Shorthand in most terminals is to simply prepend a dot: . cav load .... TL;DR: to load variables, run . cav load ...

usage: cav [-h] [-s FILE] {store,delete,load,list,clear} ...

Utility to load environment variables. To persist the variables into your
scope, run 'source cav {load,clear} [options]' or '. cav {load,clear} [options]'

positional arguments:
  {store,delete,load,list,clear}
    store               store variables
    delete              delete variables
    load                load variables
    list                list stored data
    clear               clear variables from environment

optional arguments:
  -h, --help            show this help message and exit
  -s FILE, --secrets FILE
                        specify an alternate secrets file

© 2020 Sean Christians

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cavalry-2.1.1.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

cavalry-2.1.1-py3-none-any.whl (16.3 kB view details)

Uploaded Python 3

File details

Details for the file cavalry-2.1.1.tar.gz.

File metadata

  • Download URL: cavalry-2.1.1.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.2

File hashes

Hashes for cavalry-2.1.1.tar.gz
Algorithm Hash digest
SHA256 24415f0ce0a29f5b291e1059dcfbd7ef422c6ee210135583b849c71a0a715f64
MD5 f1ce5dc1b221e8955ca64e088a5159b2
BLAKE2b-256 83d55f5d20a63f8ba1bbf4ac5248f2c9bdc69a9e61f0b561dd1d7e7fa9185338

See more details on using hashes here.

File details

Details for the file cavalry-2.1.1-py3-none-any.whl.

File metadata

  • Download URL: cavalry-2.1.1-py3-none-any.whl
  • Upload date:
  • Size: 16.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.2

File hashes

Hashes for cavalry-2.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 12a91605d6d82657a9a8ab1744464cda1a595a1249601abd42d71a481bd1f6cf
MD5 6c3c3d0e4ecb13397320b00035cf6d4d
BLAKE2b-256 1cb8ff8267a9546bcc490967982b7a35686674d7cf17a809bf77123f20678c5b

See more details on using hashes here.

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