Skip to main content

LSST SQuaRE Vault utilities

Project description

# LSST Vault Utilities

This package is a set of Vault utilities useful for the LSST use case.

## Classes

The package name is lsstvaultutils. Its functional classes are:

  1. SecretCopier – this copies secrets between the current Kubernetes context and a Vault instance.

  2. TokenAdmin – this highly LSST-specific class allows you to specify a path under the Vault secret store, and it will generate three tokens (read, write, and admin) for manipulating secrets under the path. It stores those under secret/delegated, so that an admin can find (and, if need be, revoke) them later. It also manages revoking those tokens and removing them from the secret/delegated path.

  3. RecursiveDeleter – this adds a recursive deletion feature to Vault for removing a whole secret tree at a time.

There is also a TimeFormatter class that exists only to add milliseconds to the debugging logs.

## Programs

The major functionality of these classes is also exposed as standalone programs.

  1. copyk2v – copy a Kubernetes secret to a Vault secret path.

  2. copyv2k – copy a set of Vault secrets at a specified path to a Kubernetes secret.

  3. tokenadmin – Creating or revoke token sets for a given Vault secret path.

  4. vaultrmrf – Remove a Vault secret path and everything underneath it.

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

lsstvaultutils-0.0.3.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

lsstvaultutils-0.0.3-py2.py3-none-any.whl (11.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file lsstvaultutils-0.0.3.tar.gz.

File metadata

  • Download URL: lsstvaultutils-0.0.3.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for lsstvaultutils-0.0.3.tar.gz
Algorithm Hash digest
SHA256 e978a6d74fa0176a66961e97ed4ab4a00925b91d415d943cfdf79f1348a0cd54
MD5 adf6280076f025db2806a686c06c616b
BLAKE2b-256 df06fa20ac7381938123c7a1d9e8e55e9bf6ea922dace8aabdf98c887dc37a2a

See more details on using hashes here.

File details

Details for the file lsstvaultutils-0.0.3-py2.py3-none-any.whl.

File metadata

  • Download URL: lsstvaultutils-0.0.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 11.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for lsstvaultutils-0.0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b2c22f62e8338bf0b430e1d5265075c09b9f7b81fd11f73f03dc1aef57e5826b
MD5 f56d7ebb0693ca012406b33753192035
BLAKE2b-256 dc7d5fcb7ff19ad75ec4ffc4e62c2d8ad3ec2d623415b54ffe942160d61fda32

See more details on using hashes here.

Supported by

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