cdqag/Fetch Infisical Secrets

Fetch secrets from Infisical into your Github workflows

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Apr 8, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: cdqag/infisical-secrets-action@ce6c3002a360657ae2ba907f72d50331006cab2a # v1.6.1

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
methodThe authentication method to usenouniversal
client-idMachine Identity client IDyes
client-secretMachine Identity secret keyyes
identity-idMachine Identity IDno
oidc-audienceCustom aud claim for the signed Github ID tokenno
project-slugSource project slugyes
env-slugSource environment slugyes
domainInfisical URL (defaults to https://eu.infisical.com )nohttps://eu.infisical.com
export-typeIf set to `env`, it will set the fetched secrets as environment variables for subsequent steps of a workflow. If set to `file`, it will export the secrets in a .env file in the defined file-output-pathnoenv
file-output-pathThe path to save the file when export-type is set to `file`no/.env
secret-pathSource path, example: `/my-secret-path`no/
include-importsIf set to `true`, it will include imported secretsnotrue
recursiveIf set to `true`, it will fetch all secrets from the specified base path and all of its subdirectoriesnofalse
retry-attemptsNumber of retry attempts for network requestsno10
unmask-with-tagIf set, secrets with this tag will not be masked in the GitHub Actions logsnounmasked
if-not-foundBehavior when no secrets are found. Options are `warn`, `error`, or `ignore`noerror

no outputs