Skip to content

Get Infisical Secrets

Actions
Get infisical secrets and add to GitHub Actions env
v0.0.4
Latest
Star (0)

Infisical integration for GitHub Actions

This action will fetch secrets from infisical instance to Github actions workflow.

NOTE: Applies only for self-hosted Infisical instances now.

Input variables

Input parameter Descripton Default value Required
infisical_url The url of the infisical instance eg: https://app.infisical-host.com None yes
output_file File path where the environment variables will be written .env yes
service_token Service token created from infisical None yes

Usage

  • Add INFISICAL_SERVICE_TOKEN, INFISICAL_URL and OUTPUT_FILE to repository/environment secrets or variables.
  build:
    runs-on: ubuntu-latest
    steps:
      - run: sudo apt update; sudo apt install curl jq -y
      - name: Get Infisical Secrets
        uses: DMJoh/infisical-action@v0.0.4
        with:
          service_token: ${{ secrets.INFISICAL_SERVICE_TOKEN }}
          output_file: ${{ vars.OUTPUT_FILE }}
          infisical_url: ${{ secrets.INFISICAL_URL }}

Get Infisical Secrets 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

Get infisical secrets and add to GitHub Actions env
v0.0.4
Latest

Get Infisical Secrets 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.