Skip to content

[docs] auth: Document OpenAI native WIF in sidecar and environment guides - #11394

Merged
lpcox merged 2 commits into
mainfrom
docs/auth-openai-wif-1794280789-cbe80a9179910273
Nov 10, 2026
Merged

lpcox merged 2 commits into
mainfrom
docs/auth-openai-wif-1794280789-cbe80a9179910273

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Summary

Documentation Changes

  • docs/api-proxy-sidecar.md: add openai to the AWF_AUTH_PROVIDER values; 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" listing AWF_AUTH_OPENAI_IDENTITY_PROVIDER_ID, AWF_AUTH_OPENAI_SERVICE_ACCOUNT_ID, AWF_AUTH_OIDC_AUDIENCE.

Canonical Registry Changes

None. npm run diagnostics:validate passes (21 findings).

Validation

  • Verified against src/services/credentials/openai-oidc-config.ts (both IDs are required, provider openai, auth type github-oidc), containers/api-proxy/openai-oidc-token-provider.js (endpoint (auth.openai.com/redacted), default audience (api.openai.com/redacted), and excluded-vars.ts (IDs excluded from the agent).
  • Relative anchors checked against docs/auth-matrix.md. The diff contains no tokens, keys, JWTs or credential-bearing URLs.

Sources

Generated by Auth Doctor Updater · copilot · auto (Claude Sonnet 5.5) · ~38 AIC · ⊞ 16.6K · ◷

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions github-actions Bot added ai-generated documentation Improvements or additions to documentation labels Nov 10, 2026
Copilot AI adaptive review requested due to automatic review settings November 10, 2026 03:21

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 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 openai to 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)

Comment thread docs/environment.md Resolved
@lpcox
lpcox marked this pull request as draft November 10, 2026 03:58
@lpcox
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>
@github-actions

Copy link
Copy Markdown
Contributor Author

✅ Copilot review passed with no inline comments.

@github-actions[bot] Add the ready-for-aw label to this PR to trigger agentic CI smoke tests.

@github-actions

Copy link
Copy Markdown
Contributor Author

Documentation Preview

Documentation has been built for this PR.

Download preview artifact

To view locally:

  1. Download the docs-preview-pr-11394 artifact from the workflow run
  2. Unzip and open index.html in your browser

Built from commit 69b08fc

@lpcox
lpcox merged commit 82c5b84 into main Nov 10, 2026
26 of 27 checks passed
@lpcox
lpcox deleted the docs/auth-openai-wif-1794280789-cbe80a9179910273 branch November 10, 2026 05:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai-generated documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants