be able to fetch Installation Token using a BYO JWT
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 52/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Tranquilla
- Stack tecnologico
- github-actions, javascript
- Ambito
- api, authentication, security
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- JavaScript
- Stelle
- 886
- Fork
- 174
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di actions/create-github-app-token
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 72/100
actions/create-github-app-token#377 · 1 commento ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 48/100
-
stale
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
actions/create-github-app-token#330 · 1 commento · 3 reazioni ·
-
stale
Difficoltà 3/5 1-2 giorni Idoneità per principianti 65/100
actions/create-github-app-token#324 · 1 commento · 3 reazioni ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 64/100
actions/create-github-app-token#322 · 1 commento · 4 reazioni ·
Tutte le issue di actions/create-github-app-token
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
mksglu/context-mode#1200 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
neondatabase/website#5944 ·
-
module: core
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
bigbluebutton/bigbluebutton#25849 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
jaegertracing/jaeger-ui#4506 ·