Skip to content

Broker credential aliases in child environments - #40484

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/55d673911900470aab4e206d0f4f5e62ed3611ae
Aug 24, 2026
Merged

Broker credential aliases in child environments#40484
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/55d673911900470aab4e206d0f4f5e62ed3611ae

Conversation

@copyberry

@copyberry copyberry Bot commented Aug 24, 2026

Copy link
Copy Markdown

Broker credential aliases in child environments

What changed

  • Discover supported credentials inherited from the parent even when their canonical provider variable is filtered from the child environment.
  • Replace matching values and credentials embedded in longer child environment values with broker dummies, then restore only aliases that the broker virtualized.
  • Preserve provider and host bindings when selecting credentials for outbound requests, including GitHub Enterprise and custom OpenAI hosts.
  • Expose helpers for identifying provider and binding variables, plus an API for virtualizing credential-bearing text before it is persisted.

Testing

  • Extend credential broker tests for filtered parent variables, exact and embedded aliases, text virtualization, user overrides, and host-bound GitHub and OpenAI credentials.

## What changed

- Discover supported credentials inherited from the parent even when their canonical provider variable is filtered from the child environment.
- Replace matching values and credentials embedded in longer child environment values with broker dummies, then restore only aliases that the broker virtualized.
- Preserve provider and host bindings when selecting credentials for outbound requests, including GitHub Enterprise and custom OpenAI hosts.
- Expose helpers for identifying provider and binding variables, plus an API for virtualizing credential-bearing text before it is persisted.

## Testing

- Extend credential broker tests for filtered parent variables, exact and embedded aliases, text virtualization, user overrides, and host-bound GitHub and OpenAI credentials.

GitOrigin-RevId: 55d673911900470aab4e206d0f4f5e62ed3611ae
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/55d673911900470aab4e206d0f4f5e62ed3611ae branch from d19f498 to 0280d73 Compare August 24, 2026 22:11
@copyberry
copyberry Bot merged commit 0280d73 into main Aug 24, 2026
26 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/55d673911900470aab4e206d0f4f5e62ed3611ae branch August 24, 2026 22:13
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 24, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants