Support configuring impersonated token lifetime in generated WIF credentials
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 55/100
- Type d'issue
- Fonctionnalité
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- github-actions, google-cloud, typescript
- Domaine
- authentication, security
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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.
- Langage dominant
- TypeScript
- Étoiles
- 1.4k
- Forks
- 305
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Aucun modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de google-github-actions/auth
-
Add resilience for ECONNRESETOuverte
Difficulté 3/5 1-2 jours Accessibilité débutants 55/100
google-github-actions/auth#537 · 3 commentaires · 1 réaction ·
-
bug
Difficulté 3/5 1-2 jours Accessibilité débutants 55/100
google-github-actions/auth#535 · 2 commentaires ·
-
OverloadOuverte
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 10/100
google-github-actions/auth#534 · 1 commentaire ·
-
enhancement
Difficulté 4/5 3-5 jours Accessibilité débutants 42/100
google-github-actions/auth#523 · 1 commentaire · 2 réactions ·
-
Audience seems to be ignoredPeut-être pris @juliocc l’a pris il y a 265 jours. Ouvertebug
Difficulté 4/5 3-5 jours Accessibilité débutants 35/100
google-github-actions/auth#521 · 4 commentaires ·
Toutes les issues de google-github-actions/auth
Issues similaires
-
New icon: `filter-clear`Ouvertecalcite-ui-icons enhancement impact - p3 - not time sensitive needs triage
Difficulté 2/5 1-3 heures Accessibilité débutants 67/100
Esri/calcite-design-system#15467 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
diegosouzapw/OmniRoute#18390 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
-
Difficulté 1/5 1-3 heures Accessibilité débutants 86/100
guilhermerodz/input-otp#157 · 1 commentaire ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
davidjerleke/embla-carousel#1414 ·
Les mainteneurs répondent en général sous 4 jours