Metadata-Version: 2.1
Name: secrets-storage
Version: 0.1.1
Summary: Helper for getting secretss from different storage
Home-page: https://github.com/bigbag/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
Download-URL: https://pypi.python.org/pypi/secrets-storage
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: 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/x-rst
Requires-Dist: hvac (==0.10.6)

secrets-storage
=======================================================================

.. image:: https://github.com/bigbag/secrets-storage/workflows/CI/badge.svg
   :target: https://github.com/bigbag/secrets-storage/actions?query=workflow%3ACI
.. image:: https://img.shields.io/pypi/v/secrets-storage.svg
   :target: https://pypi.python.org/pypi/secrets-storage


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


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

    $ pip install secrets-storage

Basic Usage
-----------
.. code:: python

    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.

