Skip to content

upsidetravel/enforcer

Repository files navigation

Enforcer: AWS SSM Parameter Store Management CLI

image

Docs

Helper script to upload secrets to AWS SSM Parameter Store. Any secrets greater than the AWS Parameter store value limit 4096 characters will be broken up into chunks and suffixed _chunk_<index> This script will read your secret value from the clipboard automagically

Usage

pip install enforcer

or

pip install -r requirements.txt
python app.py
python app.py upload --env(dev, stg, prod, cent) --region=<aws_region> --fq_secret_key=</secret_directory/secret_name> --secret_value=<secret_value>

Default Usage

enforcer-default

Shortcut Usage

enforcer-shorcut

Pyperclip dependency

Not Implemented Error

Formatting

This repo includes yapf, which will format code to our style. It's currently integrated into the lint step, so make pep8 will also reformat code.

Versioning

Uses semantic versioning, expecting that we'll start our versions at 1.0 (to signal that they're used in production. If they aren't, feel free to use <1.0).

  • MAJOR version when you make incompatible API changes,
  • MINOR version when you add functionality in a backwards-compatible manner, and
  • PATCH version when you make backwards-compatible bug fixes.

Licenses