Support configuring impersonated token lifetime in generated WIF credentials
還沒有人認領這個 Issue。
評估
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 新手友好度
- 55/100
- Issue 類型
- 功能
- 描述清晰度
- 基本清楚
- 活躍度
- 活躍
- 技術堆疊
- github-actions, google-cloud, typescript
研究方向
Start by locating where the action generates the WIF credentials file and how its inputs are parsed; the issue does not name files or tests. Check how the existing access_token_lifetime input is handled, then determine how an optional service account impersonation lifetime should reach the generated JSON while preserving the default when omitted. Done means downstream tools can use the configured lifetime and existing behavior remains unchanged without the input.
由索引模型根據 Issue 內容生成。
描述
TL;DR
Allow configuring the service account access token lifetime in the generated WIF credentials file for downstream tools such as gcloud.
Currently, access_token_lifetime only applies to the action's access_token output.
Detailed design
The generated WIF credentials file does not currently specify an impersonated token lifetime, so downstream tools such as gcloud use the default of 1 hour. Allowing shorter lifetimes would reduce how long a leaked access token remains usable.
An optional input such as service_account_impersonation_lifetime could set service_account_impersonation.token_lifetime_seconds in the generated file. This would avoid manually modifying the JSON while preserving existing behavior when omitted.
Additional information
I'm happy to submit a PR if this approach is acceptable.
- 主要語言
- TypeScript
- 星號
- 1.4k
- 分支
- 305
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
google-github-actions/auth 的其他 Issue
-
難度 3/5 1-2 天 新手友好度 55/100
google-github-actions/auth#537 · 3 則留言 · 1 個 reaction ·
-
bug
難度 3/5 1-2 天 新手友好度 55/100
google-github-actions/auth#535 · 2 則留言 ·
-
Overload未關閉
難度 5/5 一週以上 新手友好度 10/100
google-github-actions/auth#534 · 1 則留言 ·
-
enhancement
難度 4/5 3-5 天 新手友好度 42/100
google-github-actions/auth#523 · 1 則留言 · 2 個 reaction ·
-
Audience seems to be ignored可能已有人在做 @juliocc 於 266 天前認領。 未關閉bug
難度 4/5 3-5 天 新手友好度 35/100
google-github-actions/auth#521 · 4 則留言 ·
查看 google-github-actions/auth 的全部 Issue
相似的 Issue
-
area:plugins area:security area:skills bug has repro
難度 2/5 1-3 小時 新手友好度 76/100
anthropics/claude-code#105911 ·
維護者通常 1 天內回覆
-
openspec-apply-change skill: when blocked, may select a ready artifact unrelated to missingArtifacts未關閉
難度 2/5 1-3 小時 新手友好度 72/100
Fission-AI/OpenSpec#2165 ·
維護者通常 1 天內回覆
-
🐞 bug 🧐 unconfirmed
難度 2/5 1-3 小時 新手友好度 66/100
Tencent/tdesign-vue-next#7032 · 1 則留言 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 78/100
gnosis/gnosis_vpn#661 ·
維護者通常 1 天內回覆
-
content-freshness: staleOwnedContent doc comments still say 'complete receipt' (follow-up to #7912)未關閉triage:bug-verified
難度 1/5 1 小時以內 新手友好度 92/100
維護者通常 1 天內回覆