Metadata-Version: 2.1
Name: cavalry
Version: 2.1.0
Summary: Secrets manager
Home-page: https://github.com/seanchristians/cavalry
Author: Sean Christians
Author-email: seanchristians.scc@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Classifier: Natural Language :: English
Classifier: Operating System :: Unix
Classifier: Programming Language :: Python :: 3.8
Requires-Python: >=3.8
Description-Content-Type: text/markdown

[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg)](CODE_OF_CONDUCT.md)

# CAVALRY

Quickly load secrets as environment variables

# Getting Started

```sh
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 ...`

```sh
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


