Latitude 10 docs

Keys and tokens

Every key and token the platform issues starts with a prefix that says what it is. A secret scanner can match them, and so can you.

PrefixWhat it isWho makes itWhere it goesHow it's storedHow to revoke it
l10p_A project key, for CIAn owner or admin, on the project's page under CI keysYour CI's secrets, sent as Authorization: Bearer to the registry APISHA-256 hash onlyRevoke on the project's page
l10m_An MCP key, for agentsAn owner or admin, on the project's MCP pageThe agent's MCP client, sent as Authorization: Bearer to the hosted MCP serverSHA-256 hash onlyRevoke on the project's MCP page
l10a_An MCP access tokenThe MCP server's sign-in, when a person signs in through your identity providerSent by the MCP client to that one serverSHA-256 hash onlyThe client revokes it, or an owner or admin signs the person out on the MCP page
l10r_An MCP refresh tokenThe same sign-in, beside the access tokenSent by the MCP client to that server's token endpointSHA-256 hash onlyAs for l10a_. It's replaced on every use
l10c_An MCP OAuth client idThe MCP server, when a client registers itselfThe client's own settingsAs is: it isn't a secretAn owner or admin revokes the client on the MCP page
l10v_A host-verification tokenLatitude 10, for the project's MCP server and for its API client proxyA file or a DNS TXT record on your API's hostAs is: it isn't a secretNothing to revoke: it proves only that you control the host

l10_, with no letter after it, is the seller dashboard's key for kits and payments, not a platform key.

How secrets are kept

CI keys and MCP keys are stored only as SHA-256 hashes, and shown once.

Your API credential for hosted MCP is sealed with AES-GCM 256 under a Worker secret, with a fresh IV each time, and one module decrypts it.

So a lost key can't be shown again: revoke it and create another. Access and refresh tokens are kept the same way, as hashes.

Where this comes from

  • app/_lib/auth/keys.ts
  • app/_lib/auth/tokens.ts
  • app/workspace/_lib/keys.ts
  • app/hosted-mcp/_lib/keys.ts
  • app/hosted-mcp/_lib/tokens.ts
  • app/hosted-mcp/_lib/oauth.ts
  • app/hosted-mcp/_lib/server.ts
  • app/hosted-mcp/_lib/credential.ts
  • app/reference/_lib/playground/hosts.ts