Skip to main content

zero client sdk

Project description

Zero Python SDK

Python SDK for Zero. Provides a clear and simple interface for the secrets manager GraphQL API.

Installation

  poetry add zero-python-sdk

Usage

Fetch your vendor secrets by passing your zero token:

import os
from zero_python_sdk import zero

ZERO_TOKEN = os.getenv("ZERO_TOKEN")

# {'aws': {'secret': 'value', 'secret2': 'value2'}, 'googleCloud': {...}}
print(zero(token=ZERO_TOKEN, pick=["aws", "googleCloud"], caller_name="stagingcluster").fetch())

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

zero_python_sdk-0.2.1.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

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

zero_python_sdk-0.2.1-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file zero_python_sdk-0.2.1.tar.gz.

File metadata

  • Download URL: zero_python_sdk-0.2.1.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for zero_python_sdk-0.2.1.tar.gz
Algorithm Hash digest
SHA256 d85a90f9294b856500bb94cd6e916c64fcc0a408e918efe467d5c63547ec5083
MD5 a1490c36b40053d2e1161307d7eec6ba
BLAKE2b-256 6511cf08b211ed526af833a7a0a8816d4de032c21aa78be486ee71efc251f014

See more details on using hashes here.

File details

Details for the file zero_python_sdk-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for zero_python_sdk-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9773f348097251f0bc0b1fcf46ed124b47e24138fb191c09fd9a9ffd336f2bf4
MD5 e13ea11a70e95fae4277074257b7222b
BLAKE2b-256 a76f05524ea0ea236c877b86233de683d38c7c2ca75db72dde03048645283d4c

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