Skip to content

Rotate Service to update bot user membership expiry

What does this MR do and why?

Solves #423362 (closed)

Rotate Service to update bot user membership expiry

In case of bot user tokens, membership would expire even if access token is rotated with updated expires at. Bot user membership has to be updated too for the rotated token being useful

Changelog: fixed

Added text regenerate file

Screenshots or screen recordings

How to set up and validate locally

Use API call to rotate Project access token.-

https://docs.gitlab.com/ee/api/project_access_tokens.html#rotate-a-project-access-token

Check expires_at for user's membership from gdk console

user.members.first.expires_at - This date should be same as PAT expires_at

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Smriti Garg

Merge request reports

Loading