Documentation Index
Fetch the complete documentation index at: https://docs.phrony.com/llms.txt
Use this file to discover all available pages before exploring further.
Credentials
Default path:~/.phrony/credentials (TOML).
Override with PHRONY_CREDENTIALS_FILE (absolute path).
Profiles
- Omit
--profileto usedefaultProfilefromphrony.config.json, or thedefaultkey inside the credentials file, or the profile namedefault. phrony loginwrites OAuth fields under the profile table (for exampleaccess_token,refresh_token,tenant_id, …).phrony profile logoutorphrony logoutclears those OAuth fields for--profile(see Profile and logout).phrony profile lslists profiles and shows whether a usable OAuth session or a stored access token is present (no secrets printed).- An optional
api_keyfield in a profile is ignored forplan,apply,diff, andagent(use the TypeScript SDK for/v1with API keys). - Workspace access tokens are not stored in this file by default: set
PHRONY_ACCESS_TOKENin your environment (for example CI secrets).
.phrony/ is suggested in phrony init).
Configuration file
phrony.config.json in the project root (optional but helpful):
| Field | Purpose |
|---|---|
tenantId | Default workspace tenant id. |
apiBase | Gateway origin (no trailing slash required; the CLI normalizes it). |
rootAgentId | Default root agent for phrony diff. |
defaultProfile | Credentials profile when --profile is omitted. |
phrony.config.json. A generated phrony.config.ts is for your editor; duplicate values into JSON if you use both.