hashivaultlib


Namehashivaultlib JSON
Version 1.4.0 PyPI version JSON
download
home_pagehttps://github.com/schubergphilis/hashivaultlib.git
SummaryAn extension to hvac, implementing recursive removal and retrieval of secrets and models for tokens and policies.
upload_time2022-12-09 16:26:09
maintainer
docs_urlNone
authorCostas Tyfoxylos
requires_python
licenseMIT
keywords hashivaultlib hashicorp vault
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            =============
hashivaultlib
=============

An extension to hvac, implementing recursive removal and retrieval of secrets and models for tokens and policies.


* Documentation: https://hashivaultlib.readthedocs.org/en/latest



Development Workflow
====================

The workflow supports the following steps

 * lint
 * test
 * build
 * document
 * upload
 * graph

These actions are supported out of the box by the corresponding scripts under _CI/scripts directory with sane defaults based on best practices.
Sourcing setup_aliases.ps1 for windows powershell or setup_aliases.sh in bash on Mac or Linux will provide with handy aliases for the shell of all those commands prepended with an underscore.

The bootstrap script creates a .venv directory inside the project directory hosting the virtual environment. It uses pipenv for that.
It is called by all other scripts before they do anything. So one could simple start by calling _lint and that would set up everything before it tried to actually lint the project

Once the code is ready to be delivered the _tag script should be called accepting one of three arguments, patch, minor, major following the semantic versioning scheme.
So for the initial delivery one would call

    $ _tag --minor

which would bump the version of the project to 0.1.0 tag it in git and do a push and also ask for the change and automagically update HISTORY.rst with the version and the change provided.


So the full workflow after git is initialized is:

 * repeat as necessary (of course it could be test - code - lint :) )
   * code
   * lint
   * test
 * commit and push
 * develop more through the code-lint-test cycle
 * tag (with the appropriate argument)
 * build
 * upload (if you want to host your package in pypi)
 * document (of course this could be run at any point)


Important Information
=====================

This template is based on pipenv. In order to be compatible with requirements.txt so the actual created package can be used by any part of the existing python ecosystem some hacks were needed.
So when building a package out of this **do not** simple call

    $ python setup.py sdist bdist_egg

**as this will produce an unusable artifact with files missing.**
Instead use the provided build and upload scripts that create all the necessary files in the artifact.



Project Features
================

* TODO




History
-------

0.1.0 (25-05-2018)
------------------

* First release


0.2.0 (30-07-2018)
------------------

* Added concurrency in retrieving the tokens from the server.


1.0.0 (16-10-2018)
------------------

* Ported the template part to python 3.7
* Officially dropped support for python 2.7


1.0.2 (25-10-2018)
------------------

* Updated template and dependencies


1.1.0 (29-11-2018)
------------------

* Updated to 0.7.0 of hvac


1.1.1 (12-02-2019)
------------------

* Updated hvac to 0.7.2


1.1.2 (12-02-2019)
------------------

* Added pyhcl as a top level dependency


1.1.3 (22-05-2019)
------------------

* Fixed retrieval and deletion of paths under windows clients


1.1.4 (22-05-2019)
------------------

* fixed packaging by removing unneeded files from root


1.1.5 (18-10-2019)
------------------

* Updated template and bumped dependencies


1.1.6 (18-10-2019)
------------------

* Updated template and bumped dependencies


1.1.7 (25-05-2020)
------------------

* Updated dependencies, providing terraform 12 compatibility.


1.1.8 (25-05-2020)
------------------

* Bumped dependencies


1.2.0 (16-10-2020)
------------------

* Implemented retrieve, restore and delete for v2 kv paths.


1.2.1 (16-10-2020)
------------------

* Refactored loggers to not use the root one.


1.3.0 (19-10-2020)
------------------

* Wrapped Invalid path exception.


1.3.1 (28-12-2020)
------------------

* Updated underlying hvac dependency.


1.3.2 (26-04-2021)
------------------

* Bumped dependencies.


1.3.3 (26-04-2021)
------------------

* Bumped dependencies.


1.3.4 (08-06-2021)
------------------

* Bumped dependencies.


1.4.0 (09-12-2022)
------------------
* Set max_workers as param with default set to None
* Set runner to ubuntu-20.04
* Update pip lock

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/schubergphilis/hashivaultlib.git",
    "name": "hashivaultlib",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "hashivaultlib hashicorp vault",
    "author": "Costas Tyfoxylos",
    "author_email": "ctyfoxylos@schubergphilis.com",
    "download_url": "https://files.pythonhosted.org/packages/ee/3b/5ef7f91cf712814ececb6733cb31be004820aeb6fd361d5c84664cda330b/hashivaultlib-1.4.0.tar.gz",
    "platform": null,
    "description": "=============\nhashivaultlib\n=============\n\nAn extension to hvac, implementing recursive removal and retrieval of secrets and models for tokens and policies.\n\n\n* Documentation: https://hashivaultlib.readthedocs.org/en/latest\n\n\n\nDevelopment Workflow\n====================\n\nThe workflow supports the following steps\n\n * lint\n * test\n * build\n * document\n * upload\n * graph\n\nThese actions are supported out of the box by the corresponding scripts under _CI/scripts directory with sane defaults based on best practices.\nSourcing setup_aliases.ps1 for windows powershell or setup_aliases.sh in bash on Mac or Linux will provide with handy aliases for the shell of all those commands prepended with an underscore.\n\nThe bootstrap script creates a .venv directory inside the project directory hosting the virtual environment. It uses pipenv for that.\nIt is called by all other scripts before they do anything. So one could simple start by calling _lint and that would set up everything before it tried to actually lint the project\n\nOnce the code is ready to be delivered the _tag script should be called accepting one of three arguments, patch, minor, major following the semantic versioning scheme.\nSo for the initial delivery one would call\n\n    $ _tag --minor\n\nwhich would bump the version of the project to 0.1.0 tag it in git and do a push and also ask for the change and automagically update HISTORY.rst with the version and the change provided.\n\n\nSo the full workflow after git is initialized is:\n\n * repeat as necessary (of course it could be test - code - lint :) )\n   * code\n   * lint\n   * test\n * commit and push\n * develop more through the code-lint-test cycle\n * tag (with the appropriate argument)\n * build\n * upload (if you want to host your package in pypi)\n * document (of course this could be run at any point)\n\n\nImportant Information\n=====================\n\nThis template is based on pipenv. In order to be compatible with requirements.txt so the actual created package can be used by any part of the existing python ecosystem some hacks were needed.\nSo when building a package out of this **do not** simple call\n\n    $ python setup.py sdist bdist_egg\n\n**as this will produce an unusable artifact with files missing.**\nInstead use the provided build and upload scripts that create all the necessary files in the artifact.\n\n\n\nProject Features\n================\n\n* TODO\n\n\n\n\nHistory\n-------\n\n0.1.0 (25-05-2018)\n------------------\n\n* First release\n\n\n0.2.0 (30-07-2018)\n------------------\n\n* Added concurrency in retrieving the tokens from the server.\n\n\n1.0.0 (16-10-2018)\n------------------\n\n* Ported the template part to python 3.7\n* Officially dropped support for python 2.7\n\n\n1.0.2 (25-10-2018)\n------------------\n\n* Updated template and dependencies\n\n\n1.1.0 (29-11-2018)\n------------------\n\n* Updated to 0.7.0 of hvac\n\n\n1.1.1 (12-02-2019)\n------------------\n\n* Updated hvac to 0.7.2\n\n\n1.1.2 (12-02-2019)\n------------------\n\n* Added pyhcl as a top level dependency\n\n\n1.1.3 (22-05-2019)\n------------------\n\n* Fixed retrieval and deletion of paths under windows clients\n\n\n1.1.4 (22-05-2019)\n------------------\n\n* fixed packaging by removing unneeded files from root\n\n\n1.1.5 (18-10-2019)\n------------------\n\n* Updated template and bumped dependencies\n\n\n1.1.6 (18-10-2019)\n------------------\n\n* Updated template and bumped dependencies\n\n\n1.1.7 (25-05-2020)\n------------------\n\n* Updated dependencies, providing terraform 12 compatibility.\n\n\n1.1.8 (25-05-2020)\n------------------\n\n* Bumped dependencies\n\n\n1.2.0 (16-10-2020)\n------------------\n\n* Implemented retrieve, restore and delete for v2 kv paths.\n\n\n1.2.1 (16-10-2020)\n------------------\n\n* Refactored loggers to not use the root one.\n\n\n1.3.0 (19-10-2020)\n------------------\n\n* Wrapped Invalid path exception.\n\n\n1.3.1 (28-12-2020)\n------------------\n\n* Updated underlying hvac dependency.\n\n\n1.3.2 (26-04-2021)\n------------------\n\n* Bumped dependencies.\n\n\n1.3.3 (26-04-2021)\n------------------\n\n* Bumped dependencies.\n\n\n1.3.4 (08-06-2021)\n------------------\n\n* Bumped dependencies.\n\n\n1.4.0 (09-12-2022)\n------------------\n* Set max_workers as param with default set to None\n* Set runner to ubuntu-20.04\n* Update pip lock\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "An extension to hvac, implementing recursive removal and retrieval of secrets and models for tokens and policies.",
    "version": "1.4.0",
    "split_keywords": [
        "hashivaultlib",
        "hashicorp",
        "vault"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "5a520de50d79dc369b4858275440af7e",
                "sha256": "9932ad1a465b265d68479ed2ea8d53e490b7e4b722969519e332f5bdcdf2b779"
            },
            "downloads": -1,
            "filename": "hashivaultlib-1.4.0-py3.7.egg",
            "has_sig": false,
            "md5_digest": "5a520de50d79dc369b4858275440af7e",
            "packagetype": "bdist_egg",
            "python_version": "3.7",
            "requires_python": null,
            "size": 33507,
            "upload_time": "2022-12-09T16:26:08",
            "upload_time_iso_8601": "2022-12-09T16:26:08.351274Z",
            "url": "https://files.pythonhosted.org/packages/19/53/8f0f9dbcb5900f75c480aa3ae1d68880f936f94d99b1fcaeac3dd1909ef0/hashivaultlib-1.4.0-py3.7.egg",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "59b4722aca7f65b02fb1f516fced81c9",
                "sha256": "71105186141fd55eb473915350481f20f9dd714f311810ef122889dd3d099ac5"
            },
            "downloads": -1,
            "filename": "hashivaultlib-1.4.0.tar.gz",
            "has_sig": false,
            "md5_digest": "59b4722aca7f65b02fb1f516fced81c9",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 58585,
            "upload_time": "2022-12-09T16:26:09",
            "upload_time_iso_8601": "2022-12-09T16:26:09.841656Z",
            "url": "https://files.pythonhosted.org/packages/ee/3b/5ef7f91cf712814ececb6733cb31be004820aeb6fd361d5c84664cda330b/hashivaultlib-1.4.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-12-09 16:26:09",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "schubergphilis",
    "github_project": "hashivaultlib.git",
    "lcname": "hashivaultlib"
}
        
Elapsed time: 0.01895s