Get and set encrypted values in vars yaml file.
Project description
ansible-vault-var - Get and set encrypted values in vars yaml file.
Features
- get encrypted value as plain text from ansible vars yaml file
- set encrypted value from plain text in ansible vars yaml file
Prerequisites
- GNU make
- python >= 3.6
- pipenv
Usage
Get variable
python3 -m ansible_vault_var --vault-password-file=vault_password.txt \
get_var --var-name=secret_ingredient --vars-file=secret_vars.yml
Set variable
python3 -m ansible_vault_var --vault-password-file=vault_password.txt \
set_var --var-name=secret_ingredient --vars-file=secret_vars.yml --new-var-value=salt
Copyright (c) 2021 by Cornelius Buschka.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ansible-vault-var-1.0.1.tar.gz.
File metadata
- Download URL: ansible-vault-var-1.0.1.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cffb7feb6a5c417d26b7476cc4fd191b55788e30a1a0064f6e44f8786eb29cbe
|
|
| MD5 |
5773230a988264e06ea05944969d53b8
|
|
| BLAKE2b-256 |
0951f12b60111c8760a818b4a8f8b86d54ac1853c68aee3a13dd877a6e358416
|
File details
Details for the file ansible_vault_var-1.0.1-py2.py3-none-any.whl.
File metadata
- Download URL: ansible_vault_var-1.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a26cfb33b305c2c9d55192ca7dbd128fe7b35abe74c5fcd62175f1aa695c06f3
|
|
| MD5 |
baeade92ec1ab5aa7e75178247393a65
|
|
| BLAKE2b-256 |
0af6f6829444f30ea73bbf69bc5450e2da9176af13eea2b832cbf3c09bd88230
|