for agents/docs/llms.txtv0.6.75 · 6 Oct 2026

Home / Briefs / The identity and secrets design pack

The identity and secrets design pack, 4 to 5 October 2026

Five design documents and a starter prompt, published as written. Status: a design pack handed to a new repository, SGit-AI__Website__Secrets, for the site that will be secrets.sgit.ai. Written 4 and 5 October 2026 by Dinis Cruz with the RiskMandate and sgit teams. Nothing in it is built yet; the MVP brief's own reality file will say when something is. The argument around it is in the article The identity we wanted to give the agents.

Why this is here, and in this order. The pack is the record of a design changing under its own research. The first document assumes one Google Workspace tenant with a seat per customer, per user and per agent. The second reads Google's terms and finds that a tenant may hold one organisation's people unless Google agrees otherwise in writing, and rebuilds the tiers. The third asks whether AWS Cognito would be simpler and finds the rule that no secret can live inside an identity provider. The fourth picks one cloud per deployment and designs the keyring. The fifth is the instruction set for building it, with the decisions marked closed. Read in order, it is a week of thinking; read the fifth alone, it is a build plan.

The documents

DocumentWhat it holdsDate
Workspace as identity, storage and deployment substrateThe first plan: a Workspace account per customer as identity provider, data home and cloud organisation, with sgit encrypting before Google and a passkey PRF unwrapping the key. Three tiers, shared to private. Section 11 adds the Marketplace domain install for client-side Drive and Gmail reads. The hard constraint found here: standard Workspace storage has no admin-proof zone, so encryption has to happen before Google.4 Oct
User onboarding and account experiencePassword once, then passkey; provisioning variants; the first-run flow; the admin checklist; the rejected alternatives. Then the update that changed the design: Research A on Google's commercial terms, with the clauses and their impact, and Research B on who else has done each half of this. The five-tier model that resulted, and the request to put to Google in writing.4 Oct, updated 5 Oct
AWS Cognito client-side architectureThe AWS variant: Cognito for login, an identity pool for short-lived credentials, S3 per user prefix, and the per-user keyring. The argument that nothing stored inside Cognito or KMS can be kept from the account's administrator, so the authority to decrypt must come from the user's authenticator. The attack table: what a full administrator compromise can and cannot do, and the one place client-side crypto does not hold, the served JavaScript.5 Oct
GCP key vault architecture and password manager MVPThe decision to build all in GCP, one project per deployment, with Identity Platform, Cloud Storage for Firebase, Security Rules and a passkey PRF as the only thing that decrypts. The keyring, the sharing scheme with a key pair per user, the storage layout, and why a password manager is the right first build: if an administrator with full access cannot read a password, the model holds for vault keys.5 Oct
secrets.sgit.ai MVP build briefThe instruction set, written to be executed. Principles, architecture, the GCP environments and Terraform, browser-side environment configuration, the site's pages, the house style, the keyring and crypto specification v1 with its key hierarchy, the CI pipeline with its eight-check gate, testing, the build order in nine releases, and what not to do.5 Oct
The initial promptWhat is pasted into the first Claude Code session in the new repository: the rules never to break, the order of work, and where to record what the brief got wrong.5 Oct

What to read it against

These documents are published under CC BY 4.0 and will also live at secrets.sgit.ai/docs/design/ once that site exists, with a corrections file beside them. Where this copy and that one differ, that one is current. Terms research in them is not legal advice.