Metadata-Version: 2.1
Name: secrets-storage
Version: 0.10.0
Summary: Helper for getting secrets from different storage
Home-page: https://github.com/bigbag/secrets-storage
Download-URL: https://pypi.python.org/pypi/secrets-storage
Author: Pavel Liashkov
Author-email: pavel.liashkov@protonmail.com
Maintainer: Pavel Liashkov
Maintainer-email: pavel.liashkov@protonmail.com
License: Apache License, Version 2.0
Platform: POSIX
Classifier: Development Status :: 5 - Production/Stable
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Operating System :: POSIX
Classifier: Topic :: Software Development
Classifier: Topic :: Software Development :: Libraries
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: hvac (<1.2,>=0.11)

# secrets-storage

[![CI](https://github.com/bigbag/secrets-storage/workflows/CI/badge.svg)](https://github.com/bigbag/secrets-storage/actions?query=workflow%3ACI)
[![codecov](https://codecov.io/gh/bigbag/secrets-storage/branch/main/graph/badge.svg?token=FQTY888XG1)](https://codecov.io/gh/bigbag/secrets-storage)
[![pypi](https://img.shields.io/pypi/v/secrets-storage.svg)](https://pypi.python.org/pypi/secrets-storage)
[![downloads](https://img.shields.io/pypi/dm/secrets-storage.svg)](https://pypistats.org/packages/secrets-storage)
[![versions](https://img.shields.io/pypi/pyversions/secrets-storage.svg)](https://github.com/bigbag/secrets-storage)
[![license](https://img.shields.io/github/license/bigbag/secrets-storage.svg)](https://github.com/bigbag/secrets-storage/blob/master/LICENSE)


**secrets-storage** is a helper for getting secrets from different storage.


## Installation

secrets-storage is available on PyPI.
Use pip to install:

    $ pip install secrets-storage

## Basic Usage

```py
from secrets_storage import VaultStorage, ENVStorage, Secrets

IS_PROD = True

vault_storage = VaultStorage(
    host="VAULT_ADDR",
    namespace="VAULT_PATH",
    role="VAULT_ROLE",
    available=IS_PROD,
)

secrets = Secrets(storages=[vault_storage, ENVStorage()])


secrets.get("TEST_PASSWOD")
```

## License

secrets-storage is developed and distributed under the Apache 2.0 license.

## Reporting a Security Vulnerability

See our [security policy](https://github.com/bigbag/secrets-storage/security/policy).
