goodwaygroup / gwvault Goto Github PK
View Code? Open in Web Editor NEWansible-vault CLI reimplemented in go
Home Page: https://goodwaygroup.github.io/gwvault/
License: MIT License
ansible-vault CLI reimplemented in go
Home Page: https://goodwaygroup.github.io/gwvault/
License: MIT License
Hi,
Great work, this is exactly what I was looking for so thanks!
With ansible if you specify --vault-password-file or export ANSIBLE_VAULT_PASSWORD_FILE and make the file executable it will execute the file rather than read its contents. This is very handy for having a script retrieve a password for you. Would that be a feature that could be easily implemented?
There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.
Error type: undefined. Note: this is a nested preset so please contact the preset author if you are unable to fix it yourself.
Yesterday I found out that the binary link doesn't work. I got the following error:
#0 27.34 + curl 'https://i.jpillora.com/GoodwayGroup/gwvault!'
#0 27.34 + bash
#0 27.34 % Total % Received % Xferd Average Speed Time Time Time Current
#0 27.34 Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:08 --:--:-- 0
#0 35.90 curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to i.jpillora.com:443
When running inside Docker, 'invalid cross-device link' error is triggered when renaming the temp file.
This was specifically running in a Gitlab pipeline, using an image based on nginx:latest, so it may not happen with every docker image. In this scenario, /tmp is on a different partition than the working directory. os.Rename()
does not support renames across partition or device boundaries.
I found your tool today after searching for a standalone alternative for ansible-vault
. Great work!
Unfortunately the global flag --vault-password-file
seems not to work. I used the docker version of gwvault.
The only way I got this working is by providing the vault password file via the ANSIBLE_VAULT_PASSWORD_FILE
environment variable:
docker run -it --rm -e ANSIBLE_VAULT_PASSWORD_FILE=/av/vault_pass -v "$PWD":/workdir -v "~/.ansible:/av:ro" ghcr.io/goodwaygroup/gwvault view keyvault.yaml
I tried to use it different ways --vault-password-file /av/vault_pass
and --vault-password-file=/av/vault_pass
. No success.
Am I doing something wrong?
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
alpine
, github.com/AlecAivazis/survey/v2
, github.com/clok/avtool/v2
, github.com/clok/cdocs
, github.com/clok/kemba
, github.com/urfave/cli/v2
)Dockerfile
alpine 3.14.0
.github/workflows/edge.yml
actions/checkout v2
actions/setup-go v2
docker/login-action v1
ubuntu 20.04
.github/workflows/lint.yml
actions/checkout v2
golangci/golangci-lint-action v2
.github/workflows/release.yml
actions/checkout v2
actions/setup-go v2
docker/login-action v1
goreleaser/goreleaser-action v2
ubuntu 20.04
.github/workflows/warm.yaml
go.mod
go 1.16
github.com/AlecAivazis/survey/v2 v2.2.12
github.com/clok/avtool/v2 v2.1.1
github.com/clok/cdocs v1.2.0
github.com/clok/kemba v1.1.1
github.com/urfave/cli/v2 v2.3.0
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.