be able to fetch Installation Token using a BYO JWT
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 52/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 冷清
- 技术栈
- github-actions, javascript
- 领域
- api, authentication, security
调研方向
No file or test is named in the issue. Start by tracing the action's current inputs and GitHub App installation-token flow, then review how a caller-provided JWT could fit that flow without requiring the private key. Done means a workflow can supply its own JWT, receive the installation token, and retain the existing behavior for other users.
由索引模型根据 Issue 内容生成。
描述
Story
Given that credentials can be leaked from GitHub actions accidentally or intentionally by a variety of means
As a security-conscious GHA workflow owner
When there is a Requirement to use a high-privileged GitHub App in a workflow
I need a way to put only short-lived, easy to rotate creds into the workflow context
so that if the cred is leaked, the risk of exploitation is time-bound and easier to contain/respond to
Scenario
- Summary: A workflow owner already has a way to get the JWT, but wants to use this Action to get the installation token.
- How is the JWT obtained? A GH App's Private Key has been stored in a Secrets Store, such that it can be used for signing claims but cannot be downloaded.
- What would we want this Action/create-github-app-token to change? Allow the workflow consumer to provide their own JWT, and not have to rewrite the logic for getting an Installation Token.
- What's the security benefit? The Private Key never leaves the Secret Store. It's never directly exposed in any way to leakage.
Priority Level
- Nice-to-have.
- There are a few nuances, but overall, it's not super hard to get the installation token.
- Would just be nice to have the abstraction and not reinvent the wheel. Instead of countless organizations writing their own internal Action for local use, or using scripts in Actions contexts.
- 主要语言
- JavaScript
- 星标
- 886
- 派生
- 174
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
actions/create-github-app-token 的其他 Issue
-
难度 1/5 1-3 小时 新手友好度 72/100
actions/create-github-app-token#377 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 48/100
-
stale
难度 3/5 1-2 天 新手友好度 55/100
actions/create-github-app-token#330 · 1 条评论 · 3 个 reaction ·
-
stale
难度 3/5 1-2 天 新手友好度 65/100
actions/create-github-app-token#324 · 1 条评论 · 3 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 64/100
actions/create-github-app-token#322 · 1 条评论 · 4 个 reaction ·
查看 actions/create-github-app-token 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 70/100
-
难度 2/5 1-3 小时 新手友好度 75/100
mksglu/context-mode#1200 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
neondatabase/website#5944 ·
-
module: core
难度 2/5 1-3 小时 新手友好度 75/100
bigbluebutton/bigbluebutton#25849 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
jaegertracing/jaeger-ui#4506 ·