=============
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.3.5 (23-07-2024)
------------------
* Bump dependencies.
1.3.6 (23-07-2024)
------------------
* Bump upload dependency.
1.4.1 (23-07-2024)
------------------
* Bump dependencies.
Raw data
{
"_id": null,
"home_page": "https://github.com/schubergphilis/hashivaultlib.git",
"name": "hashivaultlib",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "hashivaultlib hashicorp vault",
"author": "Costas Tyfoxylos",
"author_email": "ctyfoxylos@schubergphilis.com",
"download_url": "https://files.pythonhosted.org/packages/0a/3d/9dfc73a3556d38d9a460a12ed259040d38f6f0a4d5a7cc77a59ff97d9b37/hashivaultlib-1.4.1.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.3.5 (23-07-2024)\n------------------\n\n* Bump dependencies.\n\n\n1.3.6 (23-07-2024)\n------------------\n\n* Bump upload dependency.\n\n\n1.4.1 (23-07-2024)\n------------------\n\n* Bump dependencies.\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.1",
"project_urls": {
"Homepage": "https://github.com/schubergphilis/hashivaultlib.git"
},
"split_keywords": [
"hashivaultlib",
"hashicorp",
"vault"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "0a3d9dfc73a3556d38d9a460a12ed259040d38f6f0a4d5a7cc77a59ff97d9b37",
"md5": "557ccb5c38d07880a262264bd014592b",
"sha256": "1139fe945400c1c4ea3c0ce8da1f192c0d74223883d2489bd4a7fb91837be979"
},
"downloads": -1,
"filename": "hashivaultlib-1.4.1.tar.gz",
"has_sig": false,
"md5_digest": "557ccb5c38d07880a262264bd014592b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 78503,
"upload_time": "2024-07-23T14:17:35",
"upload_time_iso_8601": "2024-07-23T14:17:35.423733Z",
"url": "https://files.pythonhosted.org/packages/0a/3d/9dfc73a3556d38d9a460a12ed259040d38f6f0a4d5a7cc77a59ff97d9b37/hashivaultlib-1.4.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-23 14:17:35",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "schubergphilis",
"github_project": "hashivaultlib",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "hvac",
"specs": [
[
"~=",
"2.3.0"
]
]
},
{
"name": "dateutils",
"specs": [
[
"~=",
"0.6.12"
]
]
},
{
"name": "pyhcl",
"specs": [
[
"~=",
"0.4.5"
]
]
}
],
"tox": true,
"lcname": "hashivaultlib"
}