Phase
Read secrets from a Phase app and environment with a service account token.
Before you start
- In the Phase Console, create a Service Account with access to the app and environment wtree Cloud should read.
- Generate a REST API token for it. Don't use the CLI/SDK token that starts with
pss_. - Copy the app's App ID from its settings.
The app must have Server-side Encryption (SSE) enabled. Without it the REST secrets API returns no values and Test connection fails, asking you to enable it.
Connect
Open Integrations › Secret vaults › Add provider and choose Phase.
| Field | Value |
|---|---|
| Name | Reference name, for example phase-prod |
| Service Account REST API Token | The token only, without the ServiceAccount prefix |
| App ID | UUID of the Phase app |
| Environment | Environment name, for example Production |
| Secret Path | Folder to read. Default / |
| API URL | Default https://api.phase.dev. For self-hosted Phase, your public API URL, by default ${HTTP_PROTOCOL}${HOST}/service/public |
Click Test connection, save, and assign projects and environments.
Use it
References carry only the secret key:
DATABASE_URL=${{vault.phase-prod.DATABASE_URL}}
API_KEY=${{vault.phase-prod.API_KEY}}Limits
A provider covers one app, environment and path. Create another provider for a different environment or path.
