angellofd/Phase Secrets to .env
Securely fetches secrets from your Phase server and saves them to a .env file
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jun 5, 2026
- License
- MIT
Pinned Snippet
uses: angellofd/phase-to-env@412a0914b638514d7d692340ef38b7d11260a7d7 # v1.2.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| APP_ID | Phase App ID | yes | — |
| ENV_NAME | Environment name (e.g., development, production) | yes | — |
| SERVICE_TOKEN | Phase Service Token | yes | — |
| HOST | Phase API base URL | yes | — |
| EXCLUDE_SECRETS | Comma-separated list of secret names to exclude from the .env file (they will still be exported if EXPORT_ENV_VARS is true) | no | — |
| SECRET_FILE_PATH | Path/Name of the output file (default: .env) | no | .env |
| EXPORT_ENV_VARS | Export secrets as environment variables to GITHUB_ENV (true/false) | no | false |
Outputs
no outputs