forge env deploy, forge env status, forge env stop|start|delete, forge env secret, forge cloud domain, forge cloud, forge release, forge cloud registry login and forge cloud cluster connect among them — works without forge cloud login, both when you run them as reliant forge … and when an agent runs them in a shell on a daemon, local or managed.
How it works:
- A running daemon exports
FORGE_CREDENTIAL_HELPERto the shells it starts for your agents, pointing atreliant auth forge-credentialand pinned to that daemon.reliant forge …sets the same helper for itself. - When forge has no credential of its own, it asks the helper for one, naming the control plane the environment declares.
- The helper exchanges your Reliant session (the daemon’s credential, or your
reliant auth login) with the Reliant server for a short-lived token — valid for at most an hour, carrying only requested control-plane capabilities your session holds and your organization currently grants you. The server refuses to mint one for any control plane other than its own, so a repository cannot point forge somewhere else to collect a token. - forge uses that token. Your session credential never leaves Reliant’s own files, and tokens are cached in
~/.reliant/forge-token-cache.json(readable only by you) so forge does not mint one per command.
Which organization
A token acts in exactly one organization. If you belong to several, forge uses the one you are working in:- From the web app, the organization chosen in the organization switcher (shown in the sidebar when you belong to more than one). Deploy, promote, secrets and status all act in it, from the same machine, with no sign-in per organization.
- From an agent’s shell or
reliant forge …in a terminal, the organization the Reliant session credential was issued for. A web-triggered forge command overrides this with its active organization.
--token, the environment’s token variable (FORGE_CONTROL_PLANE_TOKEN by default, for CI), a stored forge cloud login, then your Reliant session, which also takes over when a stored login has expired. forge cloud status <env> shows which one a command will use — never the token itself.
CI has no Reliant session to exchange. Give it an organization automation token instead: forge cloud token create --env prod --name github-actions --scopes deploy:read,deploy:write prints the secret once, and forge cloud token list / revoke manage it afterwards.
Third-party connectors that run commands on your daemon do not receive the helper: only your own agents can deploy as you.
Defaults and explicit restrictions
A new daemon credential requests the user’s control-plane capabilities by default: deployment, cluster administration, token read/write, secrets, domains, managed identity, observability read/write/triage, and database query. The control plane clips that ceiling to your current organization grants. This is an explicit, closed scope list, not a wildcard or an authorization bypass; resource bindings and service-level checks still apply. Restrictions are opt-in: edit a credential’s permissions in Settings → Access Tokens. Each helper exchange intersects the request with that credential’s stored scopes, then the control plane clips the mint to your current grants. Refreshing the helper credential does not restore the default ceiling or widen a restricted parent. A daemon-bound child keeps the same binding and dies when that daemon is torn down; it cannot outlive an expiring parent. An already exchanged credential may remain usable until its expiry after its parent is narrowed or revoked (at most an hour). The helper never receives session authority (reliant:api, daemon:connect), LLM invocation, connector, port-proxy, or daemon-resume capabilities. Write-implies-read authorization is not a delegation rule: requesting a read scope absent from the parent does not manufacture it from a write scope.
Daemon-bound cluster, token administration, and observability write capabilities retain the daemon lifecycle binding. Observability write is not an environment-bound grant. Updating the scope list never removes a daemon binding to make a mint succeed, nor broadens an existing explicitly narrowed credential.
reliant auth login. “Cannot authorize” means the session lacks the requested permissions. If you intentionally restricted it, change those permissions rather than signing in again to replace it with a default credential.
Related topics
- Auth: signing in to the app you deploy, for its own users (a different thing from this page)
- Environments & deploys
- Machines overview