Skip to content

vault-env

Exec a process with Vault sourced env vars

Bank-Vaults tool inspired by vaultenv and envconsul to run a process with environment variables from Vault.

devops

https://banzaicloud.com/products/bank-vaults/

arm64 amd64

Installation

1. Add WakeMeOps repository

curl -sSL https://raw.githubusercontent.com/upciti/wakemeops/main/assets/install_repository | sudo bash

2. Install vault-env

sudo apt install vault-env

Snippets

FROM wakemeops/minideb:bullseye

RUN install_packages \
    vault-env=1.15.2*

USER 1001
- name: Install dependencies
  uses: upciti/wakemeops-action@v1
  with:
    packages: |
      vault-env=1.15.2*

Download URLs

Version SHA256 Size (KB)
1.15.2 1b5cc2d93a3214311493f42f4d2f4256c98da8e28691dc40d6d7805e201ba5e8 5030
1.15.1 f282970f4d5ab71c7f2f446598a16af5c99a2488602613724824e5c06db49893 5031
Version SHA256 Size (KB)
1.15.2 7f164333144fc078f31d9590b145be1828b5f3a7512c47cf07a6878fcca8fe3c 4354
1.15.1 9dd450135de6ca2ce257a2e32ec313895e2fbbd87961dedb87f6b9ab58c3329e 4354

Blueprints

Debian packages listed on this page are generated from op2deb YAML blueprints. Blueprints for vault-env are versioned here.

Click here to see vault-env ops2deb blueprints
https://github.com/upciti/wakemeops/blob/main/blueprints/devops/vault-env/ops2deb.yml
name: vault-env
matrix:
  architectures:
    - amd64
    - arm64
  versions:
    - 1.15.1
    - 1.15.2
homepage: https://banzaicloud.com/products/bank-vaults/
summary: exec a process with Vault sourced env vars
description: |-
  Bank-Vaults tool inspired by vaultenv and envconsul to run a process with
  environment variables from Vault.
fetch: https://github.com/banzaicloud/bank-vaults/releases/download/{{version}}/vault-env-linux-{{goarch}}.tar.gz
install:
  - vault-env:/usr/bin/

The blueprint fetch keyword contains a URL template pointing to vault-env releases. Downloaded files are locked in a lockfile versioned here.

Click here to see vault-env release hashes
https://github.com/upciti/wakemeops/blob/main/blueprints/devops/vault-env/ops2deb.lock.yml
- url: https://github.com/banzaicloud/bank-vaults/releases/download/1.15.1/vault-env-linux-amd64.tar.gz
  sha256: 4a44fa879667cc0fb34ec79c7b351074be84d6d62ab89eeaa7d3392c306682e0
  timestamp: 2022-04-07 09:49:26+00:00
- url: https://github.com/banzaicloud/bank-vaults/releases/download/1.15.1/vault-env-linux-arm64.tar.gz
  sha256: a35bb29478fc038b7893ecc54e942296cde503edb6b8c59b528ac53f6f6d8ad7
  timestamp: 2022-04-07 09:49:26+00:00
- url: https://github.com/banzaicloud/bank-vaults/releases/download/1.15.2/vault-env-linux-amd64.tar.gz
  sha256: ceb25790d9efb87a089b1bfb2a4dc07993b7f14ffb2d9581193002c0c88002e2
  timestamp: 2022-04-13 03:52:41+00:00
- url: https://github.com/banzaicloud/bank-vaults/releases/download/1.15.2/vault-env-linux-arm64.tar.gz
  sha256: 4a525343fd0be02516cd9e7dba6144ef80a13d8982e2c03d7bea67dd8d8e9aa5
  timestamp: 2022-04-13 03:52:41+00:00

Badge

WakeMeOps

[![WakeMeOps](https://docs.wakemeops.com/badges/vault-env.svg)](https://docs.wakemeops.com/packages/vault-env)
<a href="https://docs.wakemeops.com/packages/vault-env">
  <img src="https://docs.wakemeops.com/badges/vault-env.svg"/>
</a>
.. image:: https://docs.wakemeops.com/badges/vault-env.svg
:target: https://docs.wakemeops.com/packages/vault-env