Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Support configuring impersonated token lifetime in generated WIF credentials

Abierto
#540 1 comentario 0 reacciones 0 asignados Ver en GitHub

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

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

enhancement
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

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de google-github-actions/auth

Todos los issues de google-github-actions/auth

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.