dotenvcloud/DotEnv Secrets

Pull and manage environment variables from DotEnv platform

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jun 11, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: dotenvcloud/action-github@d5e94a80de1d5689ec7f19524a85511fdaae6f93 # no releases — HEAD as of 2026-07-11

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

namedescriptionrequireddefault
api-keyDotEnv API key for authenticationyes
projectProject name to pull secrets fromyes
targetTarget environment (e.g., production, staging)no""
environmentSpecific environment within target (e.g., api, web)no""
output-filePath to write the .env fileno.env
formatOutput format (env, json, yaml, shell, dockerfile)noenv
export-variablesExport secrets as GitHub environment variablesnofalse
organizationOrganization to use (if different from default)no""
api-urlCustom API URL (for testing/enterprise)no""
decryptDecrypt secrets (disable for raw encrypted values)notrue
resolveResolve variable interpolationnofalse
quietSuppress outputnofalse
mergeMerge secrets from all hierarchy levelsnotrue
cli-versionCLI version to install: "latest" (default, newest stable release), "nightly" (rolling main HEAD), an exact version ("1.2.3"), or a partial version ("1" → newest 1.x.x, "1.2" → newest 1.2.x)nolatest
namedescription
env-filePath to the generated environment file