Skip to content

zerosecrets/python-sdk

Repository files navigation

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())

About

Python SDK for Zero https://tryzero.com. Provides a clear and simple interface for the secrets manager GraphQL API

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages