Repository navigation
[docs] auth: Document OpenAI native WIF in sidecar and environment guides - #11394
Merged
Merged
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The documentation incorrectly claims that all three OpenAI ID variables are excluded, while the implementation excludes only two and may leave the audience variable in the agent environment.
1 open issue
What changed in this PR
Documents OpenAI native workload identity federation (WIF) support in the API proxy sidecar and environment guides.
Changes:
- Adds
openaito the documented OIDC provider values. - Documents required OpenAI identity and service-account IDs, audience configuration, token exchange, bearer authentication, and sidecar routing.
- Adds OpenAI WIF environment notes and credential-isolation guidance.
| File | Summary | Review comments |
|---|---|---|
docs/environment.md |
Adds OpenAI WIF environment variables and isolation guidance. | Nit (3 votes): Clarify that only the two OpenAI ID variables are excluded from the agent environment; AWF_AUTH_OIDC_AUDIENCE is not currently excluded. |
docs/api-proxy-sidecar.md |
Adds openai to the OIDC provider list and documents native OpenAI WIF behavior and configuration. |
Nit (1 vote): Update other public and generated documentation that still omits openai, including the credential-options reference and authentication architecture diagram. |
Review effort: Lite (auto)
lpcox
marked this pull request as draft
November 10, 2026 03:58
lpcox
marked this pull request as ready for review
November 10, 2026 03:58
Clarified the purpose of OpenAI IDs and their configuration. Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Contributor
Author
|
✅ Copilot review passed with no inline comments. @github-actions[bot] Add the |
Contributor
Author
Documentation PreviewDocumentation has been built for this PR. To view locally:
Built from commit 69b08fc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
/reflectdiagnostics feat: expose actionable model-decision diagnostics through /reflect #11323). Other candidates (CI, pricing, enclave, test and workflow-maintenance PRs) were not reviewed individually; the remaining backlog is visible in the intake artifact.docs/auth-matrix.md) was missing fromdocs/api-proxy-sidecar.mdanddocs/environment.md, and the commonAWF_AUTH_PROVIDERlist omittedopenai.Documentation Changes
docs/api-proxy-sidecar.md: addopenaito theAWF_AUTH_PROVIDERvalues; new "OpenAI native workload identity federation" section (required IDs, audience default, bearer header, routing without a static key).docs/environment.md: new "OpenAI WIF environment notes" listingAWF_AUTH_OPENAI_IDENTITY_PROVIDER_ID,AWF_AUTH_OPENAI_SERVICE_ACCOUNT_ID,AWF_AUTH_OIDC_AUDIENCE.Canonical Registry Changes
None.
npm run diagnostics:validatepasses (21 findings).Validation
src/services/credentials/openai-oidc-config.ts(both IDs are required, provideropenai, auth typegithub-oidc),containers/api-proxy/openai-oidc-token-provider.js(endpoint(auth.openai.com/redacted), default audience(api.openai.com/redacted), andexcluded-vars.ts(IDs excluded from the agent).docs/auth-matrix.md. The diff contains no tokens, keys, JWTs or credential-bearing URLs.Sources