Skip to main content

Get and set encrypted values in vars yaml file.

Project description

Build PyPI License

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.

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ansible-vault-var-1.0.0.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

ansible_vault_var-1.0.0-py2.py3-none-any.whl (4.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file ansible-vault-var-1.0.0.tar.gz.

File metadata

  • Download URL: ansible-vault-var-1.0.0.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

Hashes for ansible-vault-var-1.0.0.tar.gz
Algorithm Hash digest
SHA256 b756b0a6005ad498f6938b5bf79dd60351d3d8ef4219ec1f30488940faff5fec
MD5 c057ec0382de5c23fade5bb089eaea14
BLAKE2b-256 0e2cddf7337117f61eebe921f803251eeda3df17800dc5dcdbdc8e526c557dea

See more details on using hashes here.

File details

Details for the file ansible_vault_var-1.0.0-py2.py3-none-any.whl.

File metadata

  • Download URL: ansible_vault_var-1.0.0-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

Hashes for ansible_vault_var-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 bd0a663d68fbe57248580c4727a65f5abdd01ad7208b3d511f63c89868383173
MD5 ece90405f446a9265a30793e137bed7a
BLAKE2b-256 b3435e76d0f0f29261b9cf413eed3717f0a0a5831e0898aec72c422bea496c1d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page