CLI tool for the Shopcloud SecretHub
Project description
Shopcloud SecretHub CLI
The SecretHub CLI provides the command-line interface to interact with the SecretHub API.
install
$ pip install shopcloud_secrethub
Usage
Reading and writing secrets:
$ secrethub auth
$ secrethub read <secret-name>
$ secrethub write <secret-name> <value>
Provisioning your applications with secrets:
Provision a template file
$ secrethub inject -i app.temp.yaml -o app.yaml
# app.temp.yaml
env_variables:
ENV: {{ talk-point/test-repo/env }}
SECRET_KEY: {{ talk-point/test-repo/secret_key }}
Provision to the environment
$ eval `secrethub printenv -i app.temp.yaml`
# app.temp.yaml
env_variables:
ENV: {{ talk-point/test-repo/env }}
SECRET_KEY: {{ talk-point/test-repo/secret_key }}
Deploy to PyPi
$ pip3 install wheel twine
$ python3 setup.py sdist bdist_wheel
$ twine upload dist/*
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Close
Hashes for shopcloud_secrethub-2.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 010edad957431f91d9fe738994cffc2c6bf862a59f9127be72bf5ab447d47f68 |
|
MD5 | e72d4a0240193c0b00854c4d4782c79b |
|
BLAKE2b-256 | 1009ba2aa0612107764ccc1ba511241c2e7fa2d5a96e85a4c1eee50742544e7a |
Close
Hashes for shopcloud_secrethub-2.0.0-py3.8.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 567050a9950d43e6a1c1acb39dfcd719caffbd2ed39452831d8c844f6d825238 |
|
MD5 | 7b69d0f7816cb1bd8c7d38b3b14276ab |
|
BLAKE2b-256 | 81476ba77d2fde9794ceba857951c5f88c8d3982d310b6d1f514815f89bc4fb0 |
Close
Hashes for shopcloud_secrethub-2.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09a67bcdf013d6511adf63cb7c1e4e2157e796c1b96951f75415cee6ea86bc67 |
|
MD5 | 3da856df4b732294f9e7dd45a8aa31ba |
|
BLAKE2b-256 | de177a59d7d400e6e1421cc0867f58b12741db7bc9fc054760f9ed2c17e155f9 |