be able to fetch Installation Token using a BYO JWT
まだ誰も着手していません。
評価
- 難易度
- 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 にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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 件 ·
-
stale
難易度 3/5 1〜2日 初心者へのやさしさ 65/100
actions/create-github-app-token#324 · コメント 1 件 · リアクション 3 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 64/100
actions/create-github-app-token#322 · コメント 1 件 · リアクション 4 件 ·
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 ·