Skip to content

Move MetaCortex production credentials into Secret Manager - #11

Merged
chrishonson merged 2 commits into
mainfrom
codex/card-23-secret-manager
Sep 10, 2026
Merged

chrishonson merged 2 commits into
mainfrom
codex/card-23-secret-manager

Conversation

@chrishonson

@chrishonson chrishonson commented Sep 9, 2026 •

Copy link
Copy Markdown
Owner

Production exposed the admin token, Gemini key, and client-profile bundle in ordinary function environment variables. The function now binds all three through Secret Manager, and deployment preflight rejects plaintext secret entries in production dotenv files.

Storage migration is deployed as revision metacortexmcp-00028-pul. All ten MCP endpoints authenticated successfully, a read-only embedding search passed, and function metadata confirms all three secret references with no plaintext copies. Existing credential values were preserved. The requested scope is storage migration only; credential rotation and client reconfiguration are excluded. The operations report records completion and recovery constraints.

Validation: 82 tests, TypeScript build, deployment preflight, a synthetic plaintext rejection check, and production checks above. The original checkout's production dotenv secret entries were removed after verification. No token values are included in this PR.

@chrishonson
chrishonson force-pushed the codex/card-23-secret-manager branch from 371bb30 to 177c989 Compare September 10, 2026 05:17
@chrishonson
chrishonson marked this pull request as ready for review September 10, 2026 05:17
@chrishonson
chrishonson merged commit dc2b7d1 into main Sep 10, 2026
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants