gitlab-plugin
gitlab-plugin copied to clipboard
Self Rotate Personal Access Tokens
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
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