No project description provided
Project description
About
An Idem plugin to manage resources of HashiCorp’s Vault.
What is POP?
This project is built with pop, a Python-based implementation of Plugin Oriented Programming (POP). POP seeks to bring together concepts and wisdom from the history of computing in new ways to solve modern computing problems.
For more information:
Getting Started
Prerequisites
Python 3.7+
git (if installing from source, or contributing to the project)
Installation
If wanting to use idem-vault, you can do so by either installing from PyPI or from source.
Install from PyPI
pip install idem-vault
Install from source
# clone repo
git clone git@<your-project-path>/idem-vault.git
cd idem-vault
# Setup venv
python3 -m venv .venv
source .venv/bin/activate
pip install -e .
Usage
The first step is to setup the credential to Vault. Similarly to other Idem plugins, this is done via the acct tool. Create a credential.yaml file like following:
vault:
default:
address: http://127.0.0.1:8200
token: Sb6lasdfsdf3ysfMNsdfd11
Encrypt the the credential file:
acct encrypt credentials.yaml
output:
-A9ZkiCSOjWYG_lbGmmkVh4jKLFDyOFH4e4S1HNtNwI=
Add the output token and the generated fernet file path to your environment:
export ACCT_KEY="-A9ZkiCSOjWYG_lbGmmkVh4jKLFDyOFH4e4S1HNtNwI="
export ACCT_FILE=$PWD/credentials.yaml.fernet
You are ready to use idem-vault to manage your Vault resources!!!
Roadmap
Current Supported Resources states: kv_v2.secret
Acknowledgements
Img Shields for making repository badges easy.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file idem-vault-0.2.0.tar.gz
.
File metadata
- Download URL: idem-vault-0.2.0.tar.gz
- Upload date:
- Size: 13.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/35.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf10bb28ee8fcfade5dc2a05fc08effa0c97c4381c5a3e73c5bdc1f694d68b15 |
|
MD5 | 89c6d8542014f922578ddfd36ab39a48 |
|
BLAKE2b-256 | f0d85fff5ac7590a962f9ad6170696fedb29470d3e371e3c9c84f5bc4ba2fb52 |
File details
Details for the file idem_vault-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: idem_vault-0.2.0-py3-none-any.whl
- Upload date:
- Size: 14.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/35.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dfef022c00288a05bec86500fc3c796cc36b14b285c413681493f2534960a22b |
|
MD5 | 3ec45f6aea00cf6b7dcfaffbc431cc9b |
|
BLAKE2b-256 | e93ec2bb6eda8585462183d7dbef09f9c104e3057b361b62766b2864048add4c |