Security model
Your AI can request keys but never touches a secret.
| Data | Where it lives | Visible to AI? |
|---|---|---|
| clientId, placeUid, ads.txt line | Your project, env vars, app | Yes — they're public |
| Aotter password | Aotter Account only | No |
| Trek credentials | Dashboard servers, encrypted | No |
| MCP access token | Your AI tool (standard OAuth) | Managed by the tool, revocable |
| Payee details | AotterTrek only; the dashboard keeps no copy | Only the values AotterTrek has masked; images never pass through AI tools |
| Google and other source credentials | Dashboard servers, encrypted | No |
Rules for your AI
- Only write public identifiers to files, with the framework's public prefix.
- Never put tokens, secrets or passwords in files, commits or chat.
- Only change ad-related code.
- If a write's result is unclear, read before retrying.
Server-side protection
- Identity and ownership are re-checked on every call; nobody can read or write another publisher's assets.
- clientId is bound to a domain or app (enforced once the live API ships, issue 03).
- Aotter sign-in, source authorisation and AI access are three separate relationships, each revocable.
- Install instructions provide knowledge, never extra permissions.