Skip to content

docs(drivers): add AWS_SESSION_TOKEN to the no-binder-slot table - #9288

Merged
os-steve merged 1 commit into
mainfrom
claude/issue-9279-drivers-mdx-fifth-key
Aug 17, 2026
Merged

docs(drivers): add AWS_SESSION_TOKEN to the no-binder-slot table#9288
os-steve merged 1 commit into
mainfrom
claude/issue-9279-drivers-mdx-fifth-key

Conversation

@os-steve

Copy link
Copy Markdown
Collaborator

Fixes#9279

What

content/docs/data-modeling/drivers.mdx's "Secret-shaped keys with no binder slot" table listed four mongo/turso keys, but PASSTHROUGH_SECRET_PATHS (packages/spec/src/data/datasource-credential-redaction.ts) redacts five mongo options.* keys on read — the table was missing options.authMechanismProperties.AWS_SESSION_TOKEN.

  • Added the fifth row: options.authMechanismProperties.AWS_SESSION_TOKEN (mongo / mongodb).
  • Updated the "these five keys" prose to "these six keys" (four mongo + turso encryptionKey, now plus this row = six total).
  • Added a short paragraph explaining that AWS_SESSION_TOKEN is writable for a different reason than the other five: it isn't refused at the write door because the MongoDB client itself throws on it under authMechanism: 'MONGODB-AWS' (per driver/common.zod.ts), not because the binder lacks a slot for it. Under any other mechanism nothing reads it. Either way it's accepted, stored cleartext, and redacted on read — same posture as the rest of the table.
  • Reworded the trade-off Callout to name the SOCKS5/TLS-key/turso group explicitly (its "no working refusal remedy" rationale) and note that AWS_SESSION_TOKEN isn't part of that trade-off.

Docs-only. No packages/spec/src/** changes — the redaction source of truth already covered this key; the doc just undercounted it.

Out of scope (per triage)

Per the issue's coordination note, #9254's mongo.zod.ts describe string (PR #9277) is a separate, discretionary follow-through and is not touched here.

Verification

Built at fc0cd0a93. Local gates run against the actual diff (node scripts/pm/dispatch-gates.mjs content/docs/data-modeling/drivers.mdx):

  • pnpm check:nul-bytes — OK (6066 files scanned, no raw control bytes)
  • pnpm check:role-word — OK (43 baselined files, no new occurrences)
  • pnpm check:docs-redirects — OK (92 entries, no dead pages)
  • pnpm check:quick-reference-counts — OK
  • pnpm check:docs-audit-scope — OK (178 hand-written docs in scope)
  • pnpm --filter @objectstack/spec run check:empty-state — OK
  • pnpm --filter @objectstack/spec run check:liveness — OK (pre-existing warnings unrelated to this diff)
  • pnpm --filter @objectstack/spec run check:strictness-ledger — OK
  • pnpm --filter @objectstack/spec run check:variant-docs — OK

This repo uses the skip-changeset label for docs-only PRs (applied by the PM) — no changeset fabricated here.

Generated by Claude Code


Generated by Claude Code

PASSTHROUGH_SECRET_PATHS (packages/spec/src/data/datasource-credential-
redaction.ts) redacts five mongo options.* keys on read, but the
drivers.mdx "Secret-shaped keys with no binder slot" table only listed
four. Add the fifth row (authMechanismProperties.AWS_SESSION_TOKEN) and
update the key-count prose (five -> six total across mongo + turso).
Its write-door story differs from the other four: it isn't refused
because the MongoDB client itself throws on it under
authMechanism: 'MONGODB-AWS' (driver/common.zod.ts), not because the
binder lacks a slot for it. The doc now calls that out explicitly
rather than folding it into the SOCKS5/TLS-key rationale.
Docs-only, no packages/spec/src/** changes.
Fixes#9279
@github-actionsgithub-actionsBot added size/s documentation Improvements or additions to documentation labels Aug 17, 2026
@os-steveos-steve added the skip-changeset PR has no user-facing published change; bypasses the changeset gate label Aug 17, 2026 — with Claude
@os-steve
os-steve marked this pull request as ready for review August 17, 2026 11:49
@os-steve
os-steve added this pull request to the merge queueAug 17, 2026
Merged via the queue into main with commit 16f825eAug 17, 2026
25 checks passed
@os-steve
os-steve deleted the claude/issue-9279-drivers-mdx-fifth-key branch August 17, 2026 13:15
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentationImprovements or additions to documentationsize/sskip-changesetPR has no user-facing published change; bypasses the changeset gate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[finding] drivers.mdx's mongo accepted-and-redacted table omits authMechanismProperties.AWS_SESSION_TOKEN, which PASSTHROUGH_SECRET_PATHS redacts

2 participants

@os-steve@claude