Skip to content

powerman/vaultgnupg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

vaultgnupg

Scripts to link ansible-vault and GnuPG.

Encrypted passwords are stored in ~/.local/share/vaultgnupg/ using file name set to a git remote URL in git@ format if it could be determined or current directory name otherwise, with / replaced with .

Installation

Just save vaultgnupg script from repo into any directory in $PATH and make it executable. You can rename it to vaultkeychain if you wanna use it instead of https://github.com/gitinsky/vaultkeychain.

Usage

Usually it will be called automatically by Ansible.

$ vaultgnupg -h
Usage:
	vaultgnupg
		add/get vault password for current repo or dir
	vaultgnupg -r
		replace vault password for current repo or dir
	vaultgnupg -h|--help
		show this information

ansible.cfg:

[defaults]
vault_password_file = vaultgnupg

About

Scripts to link ansible-vault and GnuPG

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages