googleapis / googleapis/google-cloud-python

Support AWS_WEB_IDENTITY_TOKEN_FILE

オープン
#15,204 コメント 8 件 リアクション 5 件 担当者 0 名 GitHub で見る
:rotating_light: priority: p3 type: feature request
主要言語
Python
スター
5.4k
フォーク
1.8k
平均マージ
3日 4時間
マージ済み PR(30日)
122

説明

AWS service accounts can assume an identity using AWS_WEB_IDENTITY_TOKEN_FILE and AWS_ROLE_ARN.

https://aws.amazon.com/blogs/opensource/introducing-fine-grained-iam-roles-service-accounts

A call to `aws sts get-caller-identity` returns the correct assumed role, but `aws.py` doesn't seem to support this and [returns the cluster role](https://github.com/googleapis/google-auth-library-python/blob/49bb80551b526d9d0708f155a367a542f7567973/google/auth/aws.py#L628) instead.

I'm not sure how to support this programmatically, so filing a feature request hoping someone does.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。