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.1.tar.gz (6.1 kB view hashes)

Uploaded Source

Built Distribution

ansible_vault_var-1.0.1-py2.py3-none-any.whl (4.9 kB view hashes)

Uploaded Python 2 Python 3

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