higress-group/higress

AWS Bedrock / Vertex AI provider 能否支持 role 鉴权的方式

开放

#2,154 创建于 2025年4月30日

 (7 条评论) (0 个反应) (0 位负责人)Go (1,219 个派生)github user discovery
help wantedlevel/challengepriority/high

仓库指标

星标
 (9,036 个星标)
PR 合并指标
 (平均合并 7天 9小时) (30 天内合并 18 个 PR)

描述

Why do you need it?

当前实现的 provider 只支持 ak/sk 这种鉴权方式,见代码,严格来说不是很完备,有些情况下用户更希望通过 role 鉴权方式(无 AK ),是否可以像 litellm 这样支持更灵活的鉴权方式,参考:

https://github.com/BerriAI/litellm/blob/b82af5b826553b5d35864c924af3b368a235fd6d/litellm/llms/bedrock/base_aws_llm.py#L69C9-L69C24

https://github.com/BerriAI/litellm/blob/b82af5b826553b5d35864c924af3b368a235fd6d/litellm/llms/vertex_ai/vertex_llm_base.py#L40

How could it be?

参考 litellm 的实现支持多种鉴权方式

Other related information

Add any other context or screenshots about the feature request here.

贡献者指南