Skip to content

SLV Action

Actions
Sets up the SLV CLI and helps in injecting vault secrets as masked environment variables for workflows to consume
v1.0.0
Latest
Star (0)

⚙️ slv-action

This action downloads and sets up the SLV CLI and helps in injecting vault secrets as masked environment variables for workflows to consume.

About

This action can be run on ubuntu-latest, windows-latest, and macos-latest GitHub Actions runners, and will install and expose the specified version of the slv CLI on the runner environment.

Usage

Only setup the slv CLI:

steps:
- name: Setup SLV
  uses: amagioss/slv-action@v1

A specific version of the slv CLI can also be installed:

steps:
- name: Setup SLV
  uses: amagioss/slv-action@v1
  with:
    version: 0.1.5

Load SLV secrets into environment variables:

steps:
- name: Load SLV Secrets
  uses: amagioss/slv-action@v1
  with:
    vault: pets.slv.yml
    env-secret-key: ${{ secrets.SLV_ENV_SECRET_KEY }}

Optionally specify a prefix that will be added to the environment variables in front of the secret names:

steps:
- name: Load SLV Secrets - PROD
  uses: amagioss/slv-action@v1
  with:
    version: 0.1.5
    vault: pets.slv.yml
    env-secret-key: ${{ secrets.SLV_ENV_SECRET_KEY }}
    prefix: "PROD_"

Inputs

The actions supports the following inputs:

  • version: The version of slv to install, defaulting to latest
  • vault: Path to the vault file
  • env-secret-key: The SLV environment secret (key/binding) to use for the action
  • prefix: Prefix to use for the environment variable names along with the SLV secret name

SLV Action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Sets up the SLV CLI and helps in injecting vault secrets as masked environment variables for workflows to consume
v1.0.0
Latest

SLV Action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.