https://github.com/powerman/vaultgnupg
Scripts to link ansible-vault and GnuPG
https://github.com/powerman/vaultgnupg
Last synced: 7 months ago
JSON representation
Scripts to link ansible-vault and GnuPG
- Host: GitHub
- URL: https://github.com/powerman/vaultgnupg
- Owner: powerman
- Created: 2016-05-03T15:24:29.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-05-03T15:36:13.000Z (over 9 years ago)
- Last Synced: 2025-06-20T09:59:08.265Z (7 months ago)
- Language: Shell
- Homepage:
- Size: 1000 Bytes
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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:
```ini
[defaults]
vault_password_file = vaultgnupg
```