Skip to content

feat(secrets): allow alternative credentials for one endpoint - #289

Open
rohangpta wants to merge 6 commits into
paradigmxyz:mainfrom
rohangpta:feat/alternative-secret-credentials
Open

rohangpta wants to merge 6 commits into
paradigmxyz:mainfrom
rohangpta:feat/alternative-secret-credentials

Conversation

@rohangpta

@rohangpta rohangpta commented Oct 21, 2026 •

Copy link
Copy Markdown

Two workers may need to call the same API using different accounts while holding only proxy tokens. Today, two matching require: true entries each require their own token, so neither credential can be used independently.

Add selection_group for alternative, required header credentials. A request must select exactly one matching entry. Missing, unknown, or ambiguous tokens and conflicting header writers are rejected before fetching secrets. Ungrouped entries keep their existing behavior.

Maintainers - let me know if you would like additional clarity re use-cases or examples; I'd be happy to share more information.

Multiple required credentials on one route currently require every token. Select one entry per group from the original headers while preserving independent credential requirements.
Exercise selection, rejection before upstream contact, credential rotation, and an in-flight request through the real proxy. Fuzz header values and audit output for ambiguous selection and secret leaks.
@rohangpta
rohangpta marked this pull request as ready for review October 21, 2026 20:11
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