gitlab-plugin icon indicating copy to clipboard operation
gitlab-plugin copied to clipboard

Self Rotate Personal Access Tokens

Open Xyaren opened this issue 9 months ago • 1 comments

What feature do you want to see added?

I would like jenkins to sedlf rotate personal access tokens (if set up to allow self rotation)

Upstream changes

No response

Are you interested in contributing this feature?

No response

Xyaren avatar Jun 26 '25 08:06 Xyaren

I would second this motion, however, there a couple of obstacles that I see:

  • Multiple token types (personal, project, group) with different API Endpoints for self-rotate. Even though this issue is for personal access tokens, I would foresee future issues for project and group tokens;
  • We use credentials to set the token. Would the plugin be able to update the credential's value?

I would say that a scheduled pipeline / cronjob, or a manual job for long lived tokens, would do a more robust job.

Either way, this would make our lives easier

tiago-teixeira5 avatar Nov 21 '25 09:11 tiago-teixeira5