googleapis / googleapis/google-cloud-java

[google-auth-library-java] Allow AwsCredentials/ExternalAccountCredentials to take in customized environmentProvider

Abierto
#12,603 0 comentarios 2 reacciones 0 asignados Ver en GitHub
type: feature request
Lenguaje dominante
Java
Estrellas
2.1k
Forks
1.2k
Merge medio
1 d 23 h
PR fusionados (30 d)
154

Descripción

**Is your feature request related to a problem? Please describe.**
I'm always frustrated when I want to use my own temporary (AWS) credentials to fetch jwt. The only way to pass in my own `environmentProvider` is through the System env right now. But I want to rotate the info inside `environmentProvider` over the time, setting System env is not a great choice.
`EnvironmentProvider` interface provided by the lib is package level so I could not implement my own and pass in.

**Describe the solution you'd like**
Expose `EnvironmentProvider` and allow me to pass in my own implementation of it to AwsCredentials/ExternalAccountCredentials.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.