Request for an OIDC token with expiry of > 5 mins
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 5.9k
- Forks
- 1.8k
- PR merge metrics
- No merged PRs in 30d
Description
Describe the enhancement
Currently the OIDC token retrieved from getIDToken has an expiry of 5 mins. This is generally insufficient for some jobs that we want to run, in particular Docker building jobs when used a mechanism for Workload Identity Federation for the purposes of Docker authentication.
Can we specify how long the expiry of the token is? Getting at least 10 minutes would be ideal for our use case.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the getIDToken entry point in the TypeScript toolkit and trace how its fixed expiry is obtained. Clarify the supported expiry contract for OIDC and the Docker Workload Identity Federation use case; done means callers can request an expiry longer than five minutes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, typescript
- Domain
- authentication, cloud, security
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100