Sign-in and Permissions
An agent reads with browser sign-in or a key, and deploys subgraphs only on the local server.
| Surface | Reads | Writes |
|---|---|---|
| Index, Streams, Contracts | Hosted: SECONDLAYER_API_KEY. Self-host: open on loopback | — |
| Proofs | Free, no key | — |
Account (account_whoami, billing_status) | Hosted: sign-in or SECONDLAYER_API_KEY | — |
| Subgraphs, Webhooks | Hosted: sign-in or SECONDLAYER_API_KEY. Self-host: open on loopback | subgraphs_deploy only, on the local server. Hosted: SECONDLAYER_API_KEY. Self-host: INSTANCE_TOKEN |
A token sent on a loopback read that did not need it is ignored, never rejected.
- An app can't make, rotate or revoke keys.
- Revoke an app under Apps on /account/keys.