googleapis / googleapis/google-cloud-java

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

未关闭
#12,603 0 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看
type: feature request
主要语言
Java
星标
2.1k
派生
1.2k
平均合并
1 天 23 小时
30 天内合并 PR
157

描述

**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.

贡献指南

打开贡献指南

调研方向

找到 AwsCredentials、ExternalAccountCredentials 和包级别的 EnvironmentProvider 接口,然后了解凭据目前如何获取环境提供程序。调用方能够向两种凭据类型提供自定义 EnvironmentProvider,并且相关的现有测试覆盖这一注入路径后,工作即告完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
aws, java
领域
authentication, cloud
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。