thermograph/infra/deploy
Emi Griffith a981729417 secrets: configure Centralis Google sign-in for prod
Centralis has shipped the OAuth 2.1 authorization server since b194603, but
prod ran with none of it configured, so the connector could only offer a
bearer token. buildOAuth() needs a Google client AND a team list; this adds
both, plus the Workspace domain.

CENTRALIS_TEAM is an allowlist of addresses, not a domain or group rule --
a rule keyed on the domain grants production reads to anyone who can get an
address in it, and the group equivalent moves that authority to whoever
administers the group. Four addresses, listed:

  emi.g      owner    jin.j        owner
  klaudia.j  member   violet.g     member

Roles are real gates. owner is everything, including run_on_host, secrets_*,
promote and SQL writes; member is the estate's reads plus the writes that
become PRs. Identity is re-resolved from this value on every request rather
than trusted from the token, so removing a line and restarting revokes
someone at once.

The audit subjects these derive to -- emi.g, jin.j -- deliberately differ
from the CENTRALIS_TOKENS subjects emi and jin. The token registry is for
machines now, so a distinct subject is what makes an audit line answer
whether a person or a cron job did something.

CENTRALIS_GOOGLE_HOSTED_DOMAIN is set because every address is in the
Workspace. It is checked server-side as well as hinted to Google, so it
narrows who can reach the allowlist; it never populates it.

Verified before commit: the vault renders 13 keys that survive
`set -a; . <file>` byte-for-byte, and the rendered CENTRALIS_TEAM parses to
exactly the four members and capabilities above.
2026-08-01 15:42:20 -07:00
..
backup infra: split the estate into vps1/vps2 — beta joins prod, dev gets a home (#103) 2026-07-26 06:56:38 +00:00
db docs: correct file references and the dev reachability claim 2026-08-01 11:49:28 -07:00
forgejo Merge dev into feat/forgejo-runners (dev moved while #157 was open) 2026-08-01 11:52:12 -07:00
migrations Subtree-merge thermograph-infra (origin/main) into infra/ 2026-07-22 22:01:11 -07:00
openmeteo infra: split the estate into vps1/vps2 — beta joins prod, dev gets a home (#103) 2026-07-26 06:56:38 +00:00
secrets secrets: configure Centralis Google sign-in for prod 2026-08-01 15:42:20 -07:00
stack Merge remote-tracking branch 'origin/dev' into fix/registry-namespace-admin-emi 2026-08-01 09:31:18 -07:00
swarm infra: split the estate into vps1/vps2 — beta joins prod, dev gets a home (#103) 2026-07-26 06:56:38 +00:00
twa docs: correct file references and the dev reachability claim 2026-08-01 11:49:28 -07:00
Caddyfile.vps1 forgejo: make dev.jinemi.com canonical (ROOT_URL and OAuth callback) 2026-08-01 09:32:12 -07:00
Caddyfile.vps2 infra: split the estate into vps1/vps2 — beta joins prod, dev gets a home (#103) 2026-07-26 06:56:38 +00:00
deploy-dev.sh infra: split the estate into vps1/vps2 — beta joins prod, dev gets a home (#103) 2026-07-26 06:56:38 +00:00
deploy.sh registry: move image and repo references to the Jinemi namespace 2026-08-01 09:25:02 -07:00
env-topology.sh openbao: derive the AppRole credential path per environment 2026-07-30 19:49:28 -07:00
migrate-db.py Subtree-merge thermograph-infra (origin/main) into infra/ 2026-07-22 22:01:11 -07:00
POSTGRES-MIGRATION.md Subtree-merge thermograph-infra (origin/main) into infra/ 2026-07-22 22:01:11 -07:00
provision-agent-access.sh Subtree-merge thermograph-infra (origin/main) into infra/ 2026-07-22 22:01:11 -07:00
provision-dev.sh registry: move image and repo references to the Jinemi namespace 2026-08-01 09:25:02 -07:00
provision-mail-supervision.sh observability: add the estate's first alerting; supervise Postfix 2026-07-24 13:19:19 -07:00
provision-mail.sh infra: split the estate into vps1/vps2 — beta joins prod, dev gets a home (#103) 2026-07-26 06:56:38 +00:00
provision-secrets.sh infra: split the estate into vps1/vps2 — beta joins prod, dev gets a home (#103) 2026-07-26 06:56:38 +00:00
render-secrets-openbao.sh openbao: render Centralis from the vault 2026-07-30 19:55:17 -07:00
render-secrets.sh openbao: render Centralis from the vault 2026-07-30 19:55:17 -07:00
RUNBOOK-vps1-vps2-cutover.md registry: move image and repo references to the Jinemi namespace 2026-08-01 09:25:02 -07:00
thermograph-dev.service Subtree-merge thermograph-infra (origin/main) into infra/ 2026-07-22 22:01:11 -07:00
thermograph.env.example accounts: sign in with Google, on a shared provider-agnostic OAuth engine (#122) 2026-07-27 00:56:43 +00:00
thermograph.service Subtree-merge thermograph-infra (origin/main) into infra/ 2026-07-22 22:01:11 -07:00