Support configuring impersonated token lifetime in generated WIF credentials
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 55/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- github-actions, google-cloud, typescript
- Área
- authentication, security
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- TypeScript
- Estrellas
- 1.4k
- Forks
- 305
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de google-github-actions/auth
-
Add resilience for ECONNRESETAbierto
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
google-github-actions/auth#537 · 3 comentarios · 1 reacción ·
-
bug
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
google-github-actions/auth#535 · 2 comentarios ·
-
OverloadAbierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 10/100
google-github-actions/auth#534 · 1 comentario ·
-
enhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 42/100
google-github-actions/auth#523 · 1 comentario · 2 reacciones ·
-
Audience seems to be ignoredPosiblemente ocupada @juliocc la tomó hace 265 días. Abiertobug
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
google-github-actions/auth#521 · 4 comentarios ·
Todos los issues de google-github-actions/auth
Issues similares
-
Add: MahdawiounTV HDAbiertocheck:passed streams:add
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
iptv-org/iptv#56890 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
type: enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
franciscoBSalgueiro/en-croissant#1061 ·
Los mantenedores suelen responder en 3 días
-
S: triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día
-
comp/desktop desktop/shell os/windows P3 tool/file type/bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
NousResearch/hermes-agent#145928 ·
Los mantenedores suelen responder en 1 día