Skip to main content

Push your git-secret protected configuration parameters to AWS Parameter Store using roles for multiple accounts

Project description

# hush-push

## Installation

`pip install --user hush-push`

## Usage
usage: hush [-h] [--version] [--execute] [--overwrite] [--verbose]
[--remote-endpoint REMOTE_ENDPOINT]

Hello world

optional arguments:
-h, --help show this help message and exit
--version show the current version
--execute, -e create the specified configuration parameters
--overwrite, -o force put the configuration parameters even if they
already exist
--verbose, -v enable verbose logging
specify remote endpoint

## Pre-requisites
You need to specify which configuration file to use by setting the environment variable `AWS_CONFIG_FILE` to the absolute path of your configuration file.

## Directory structure

The directory structure need to be organized in folders at the root of your project. The first folder name should be equal to the profile name specified in the configuration file to use for the call. If your config looks like this:
[profile accProfile]
role_arn = arn:aws:iam::000000000000:role/ROLE
region = eu-west-1
source_profile = default
You must put your configuration parameters in the following structure under the directory `secrets/`:

If the `parameterName` is a folder structure, the configuration parameter name will be a concatenated version of those. If the folder structure looks like this:
the parameter name will look like this: `/eu-west-1/staging/remoteEndpoint` with the value of the parameter set to the content of the file `remoteEndpoint`

## Development

To build the dist: `python3 sdist bdist_wheel` and answer "no" to the question if it's a production release. To upload the created dist run `python3 -m twine upload --repository-url dist/*` and sign in with your username and password.

Project details

Download files

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

Files for hush-push, version 0.3.0
Filename, size File type Python version Upload date Hashes
Filename, size hush_push-0.3.0-py2-none-any.whl (7.4 kB) File type Wheel Python version py2 Upload date Hashes View
Filename, size hush-push-0.3.0.tar.gz (4.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page