Skip to main content

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


Download files

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

Source Distribution

shopcloud_secrethub-2.0.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

shopcloud_secrethub-2.0.0-py3.8.egg (8.6 kB view details)

Uploaded Egg

shopcloud_secrethub-2.0.0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file shopcloud_secrethub-2.0.0.tar.gz.

File metadata

  • Download URL: shopcloud_secrethub-2.0.0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6

File hashes

Hashes for shopcloud_secrethub-2.0.0.tar.gz
Algorithm Hash digest
SHA256 010edad957431f91d9fe738994cffc2c6bf862a59f9127be72bf5ab447d47f68
MD5 e72d4a0240193c0b00854c4d4782c79b
BLAKE2b-256 1009ba2aa0612107764ccc1ba511241c2e7fa2d5a96e85a4c1eee50742544e7a

See more details on using hashes here.

File details

Details for the file shopcloud_secrethub-2.0.0-py3.8.egg.

File metadata

  • Download URL: shopcloud_secrethub-2.0.0-py3.8.egg
  • Upload date:
  • Size: 8.6 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6

File hashes

Hashes for shopcloud_secrethub-2.0.0-py3.8.egg
Algorithm Hash digest
SHA256 567050a9950d43e6a1c1acb39dfcd719caffbd2ed39452831d8c844f6d825238
MD5 7b69d0f7816cb1bd8c7d38b3b14276ab
BLAKE2b-256 81476ba77d2fde9794ceba857951c5f88c8d3982d310b6d1f514815f89bc4fb0

See more details on using hashes here.

File details

Details for the file shopcloud_secrethub-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: shopcloud_secrethub-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6

File hashes

Hashes for shopcloud_secrethub-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 09a67bcdf013d6511adf63cb7c1e4e2157e796c1b96951f75415cee6ea86bc67
MD5 3da856df4b732294f9e7dd45a8aa31ba
BLAKE2b-256 de177a59d7d400e6e1421cc0867f58b12741db7bc9fc054760f9ed2c17e155f9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page