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

Abierto
#955 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 3 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
1-2 días
Aptitud para principiantes
55/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
aws, go

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Go
Estrellas
31
Forks
20
Merge medio
2 d 4 h
PR fusionados (30 d)
11

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de NVIDIA/holodeck

Todos los issues de NVIDIA/holodeck

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.