Support configuring impersonated token lifetime in generated WIF credentials
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Facilidade para iniciantes
- 55/100
- Tipo de issue
- Funcionalidade
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Stack de tecnologia
- github-actions, google-cloud, typescript
- Domínio
- authentication, security
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.
- Linguagem predominante
- TypeScript
- Estrelas
- 1.4k
- Forks
- 305
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de google-github-actions/auth
-
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 55/100
google-github-actions/auth#537 · 3 comentários · 1 reação ·
-
bug
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 55/100
google-github-actions/auth#535 · 2 comentários ·
-
OverloadAberta
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 10/100
google-github-actions/auth#534 · 1 comentário ·
-
enhancement
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 42/100
google-github-actions/auth#523 · 1 comentário · 2 reações ·
-
Audience seems to be ignoredTalvez já em andamento @juliocc assumiu há 266 dias. Abertabug
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 35/100
google-github-actions/auth#521 · 4 comentários ·
Todas as issues de google-github-actions/auth
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
gnosis/gnosis_vpn#661 ·
Mantenedores costumam responder em até 1 dia
-
content-freshness: staleOwnedContent doc comments still say 'complete receipt' (follow-up to #7912)Abertatriage:bug-verified
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 92/100
Mantenedores costumam responder em até 1 dia
-
fix: reject sourceStorage/packagedStorage bucket that differs from the stack default (fail loud)Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
Eyevinn/open-videocore#1300 ·
Mantenedores costumam responder em até 1 dia
-
nextjs-tracking
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 67/100
cloudflare/vinext#4390 ·
Mantenedores costumam responder em até 1 dia
-
kind/bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
kubernetes-sigs/headlamp#8175 ·
Mantenedores costumam responder em até 2 dias