A tool to manage certificates lifecycle on Vault, Redis, Consul
===============================================================

.. figure:: https://cds.geant.org/images/wile_coyote.jpg
   :alt: Wile Coyote

   Wile Coyote

Install the package
-------------------

A virtual environment is not needed for this application.

dependencies
~~~~~~~~~~~~

- `py-consul <https://pypi.org/project/py-consul/>`__ is a fork of
  ``python-consul`` and is available only as PIP package.
- `hvac-0.11.2-1.noarch.rpm <https://pkgs.org/download/python3-hvac>`__

packages
~~~~~~~~

You can install one of the packages stored under the following
directories:

.. code:: txt

   packages/
   ├── deb
   ├── rpm
   └── whl

developer’s notes
~~~~~~~~~~~~~~~~~

version number
^^^^^^^^^^^^^^

the version number is defined inside ``./wile_coyote/__init__.py``

install script
^^^^^^^^^^^^^^

``test-acme01`` can be used to build the package

.. code:: shell

   ./create-packages.sh --help

   Create Wile_Coyote DEB, RPM, Wheel package
   ------------------------------------------

   example: create-packages.sh --deb --whl

   Usage: create-packages.sh
       -h | --help  Print this help and exit
       -d | --deb   Build DEB package
       -r | --rpm   Build RPM package
       -w | --whl   Build Wheel package
       -a | --all   Build All packages
       --push-deb   Push DEB package

read keys recursively from Vault
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

| Consul and Redis support recursive listing of all the keys.
| For Vault we rely on `rvault <https://github.com/kir4h/rvault>`__

create README.rst
^^^^^^^^^^^^^^^^^

.. code:: sh

   pandoc README.md --from markdown --to rst -s -o README.rst