/vault-env

Minimalistic init system for containers with Hashicorp Vault secrets support

Primary LanguageGoApache License 2.0Apache-2.0

vault-env

GitHub Workflow Status OpenSSF Scorecard OpenSSF Best Practices

Minimalistic init system for containers with Hashicorp Vault secrets support .

Usage

vault-env is designed for use with the Kubernetes mutating webhook; however, it can also function as a standalone tool.

Development

For an optimal developer experience, it is recommended to install Nix and direnv.

Alternatively, install Go on your computer then run make deps to install the rest of the dependencies.

Make sure Docker is installed with Compose and Buildx.

Run project dependencies:

make up

Build a binary:

make build

Run the test suite:

make test

Run linters:

make lint # pass -j option to run them in parallel

Some linter violations can automatically be fixed:

make fmt

Build artifacts locally:

make artifacts

Once you are done either stop or tear down dependencies:

make down

License

The project is licensed under the Apache 2.0 License.