fix(aws): the SSO credential client ignores ca_bundle and FIPS settings from the credentials file

Aperta
#955 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 3 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
1-2 giorni
Idoneità per principianti
55/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
aws, go

Direzione di ricerca

Read the LoadConfig flow that reloads the SSO profile and the HTTP client setup for the SSO provider, then compare it with the default config load. Add the acceptance test described in the issue: put ca_bundle only in the credentials file and use a TLS test server signed by that CA. The test should fail with an x509 error before the fix and pass with the expected transport settings.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Follow-up from #945. When holodeck switches a profile to SSO, LoadConfig reloads the profile from the config file alone to build the SSO provider. From the code, that provider's HTTP client then ignores a ca_bundle, use_fips_endpoint or retry setting that appears only in the credentials file. Behind a TLS-intercepting proxy we expect the SSO calls to fail closed with an x509 error rather than fall back to other credentials. This has not been reproduced yet; the acceptance test below is the reproduction.

Expected: the SSO portal and token calls use the same transport settings as the default load.

Acceptance: a test with ca_bundle only in the credentials file and a TLS test server signed by that CA, that fails with x509 before the fix.

Lingua principale
Go
Stelle
31
Fork
20
Merge medio
2g 4h
PR unite (30g)
11

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di NVIDIA/holodeck

Tutte le issue di NVIDIA/holodeck

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.