Skip to content

feat(providersv2): inject static auth headers from v2 provider profiles#1891

Open
Cali0707 wants to merge 1 commit into
NVIDIA:mainfrom
Cali0707:provider-v2-injection
Open

feat(providersv2): inject static auth headers from v2 provider profiles#1891
Cali0707 wants to merge 1 commit into
NVIDIA:mainfrom
Cali0707:provider-v2-injection

Conversation

@Cali0707

Copy link
Copy Markdown
Contributor

Summary

This PR enables injection of static provider credentials that are auth headers when providers_v2_enabled is set. It extends the existing token grant injection path to resolve and inject bearer/header credentials from provider profiles, without requiring child-env placeholder resolution.

Related Issue

Part of #896

Changes

  • Gate static credential inclusion in dynamic_credentials behind providers_v2_enabled in the server
  • Extend sandbox side inject_if_needed to handle static credentials as well as the existing token grant path

Testing

  • mise run pre-commit passes
  • Unit tests added/updated
  • E2E tests added/updated (if applicable)

Checklist

  • Follows Conventional Commits
  • Commits are signed off (DCO)
  • Architecture docs updated (if applicable)

Signed-off-by: Calum Murray <cmurray@redhat.com>
@Cali0707 Cali0707 requested review from a team, derekwaynecarr and mrunalp as code owners June 12, 2026 21:37
@copy-pr-bot

copy-pr-bot Bot commented Jun 12, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

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