googleapis / googleapis/google-cloud-java
[java-bigtable] Always default default the JWT audience to the primary bigtable.googleapis.com authority
未关闭
api: bigtable
type: feature request
- 主要语言
- Java
- 星标
- 2.1k
- 派生
- 1.2k
- 平均合并
- 1 天 23 小时
- 30 天内合并 PR
- 154
描述
Currently the JWT audience is derived from the endpoint. This works well when the endpoint is bigtable.googleapis.com. However when a different endpoint is used to reach cloud bigtable, this doesnt work as well. The EnhancedStubSettings has a way to new mappings between endpoints and authorities via `JwtAudienceMapping`, by default this has a mapping for batch-bigtable.googleapis.com.
However with psc, having multiple endpoints targeting the same authority is the norm. So the mapping should ignore the endpoint and simply default to bigtable.googleapis.com unless there is an override
贡献指南
评估
这个 Issue 还没有评估数据。