Skip to content

feat(elliptic-proxy): BYOK screening with client-supplied Elliptic creds - #832

Draft
avi-starkware wants to merge 1 commit into
avi/elliptic-byok/config-gatefrom
avi/elliptic-byok/auth-and-routing
Draft

feat(elliptic-proxy): BYOK screening with client-supplied Elliptic creds#832
avi-starkware wants to merge 1 commit into
avi/elliptic-byok/config-gatefrom
avi/elliptic-byok/auth-and-routing

Conversation

@avi-starkware

@avi-starkware avi-starkware commented Jun 18, 2026

Copy link
Copy Markdown
Collaborator

When allowByok is enabled, a client that is not a registered partner may screen
by supplying its own Elliptic key + secret in x-elliptic-key / x-elliptic-secret
headers and self-signing the request (x-access-sign) with that secret. auth.ts
gates and verifies the BYOK request and returns a synthetic 'byok:'
rate-limit id (never the raw key); handler.ts sources the upstream creds from
the BYOK result (guarding the partners lookup) and labels the verdict
source 'byok'. The verdict is still signed with the proxy key, so the path is
off by default.

Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com


This change is Reviewable

avi-starkware commented Jun 18, 2026

Copy link
Copy Markdown
Collaborator Author

When allowByok is enabled, a client that is not a registered partner may screen
by supplying its own Elliptic key + secret in x-elliptic-key / x-elliptic-secret
headers and self-signing the request (x-access-sign) with that secret. auth.ts
gates and verifies the BYOK request and returns a synthetic 'byok:<hash>'
rate-limit id (never the raw key); handler.ts sources the upstream creds from
the BYOK result (guarding the partners lookup) and labels the verdict
source 'byok'. The verdict is still signed with the proxy key, so the path is
off by default.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@avi-starkware
avi-starkware force-pushed the avi/elliptic-byok/auth-and-routing branch from a5880dc to d64e7a0 Compare June 18, 2026 12:33
@avi-starkware
avi-starkware force-pushed the avi/elliptic-byok/config-gate branch from 96b2f1f to 087ee6e Compare June 18, 2026 12:33
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.

1 participant