Skip to content

fix(#138): deploy-time secret validation + key injection documentation#167

Merged
arniesaha merged 2 commits intomainfrom
fix/issue-138-key-injection-validation
Apr 17, 2026
Merged

fix(#138): deploy-time secret validation + key injection documentation#167
arniesaha merged 2 commits intomainfrom
fix/issue-138-key-injection-validation

Conversation

@arniesaha
Copy link
Copy Markdown
Owner

Summary

Closes #138

The key injection code was already complete from #137. This PR adds the missing operational pieces:

Changes

  • Added deploy/validate-secrets.sh — warns when k8s secret fields are empty at deploy time
  • Added 'Key Injection for External Clients' section to docs/proxy-setup.md
  • Documents the two auth models (pass-through vs injection), setup steps, and verification
  • Warns explicitly against OAuth tokens for injection

Testing

  • Script is non-fatal (|| true) — won't break deploys, only warns
  • Documentation reviewed against actual proxy code behaviour

arniesaha and others added 2 commits April 17, 2026 02:11
…loy.sh

validate-secrets.sh now fails hard on sk-ant-oat* OAuth tokens, validates
google-api-key alongside anthropic/openai, and warns when an Anthropic
field doesn't match the sk-ant-api03_ format. scripts/deploy.sh runs the
validator after applying manifests; a failure aborts the deploy.

Follow-up to PR #167 review.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@arniesaha arniesaha merged commit 411aae1 into main Apr 17, 2026
4 checks passed
@arniesaha arniesaha deleted the fix/issue-138-key-injection-validation branch April 17, 2026 09:50
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.

feat: complete key injection for external clients — standard API key required (follow-up from #137)

1 participant