We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hi,
i need to rotate a token, for security purpose (and because from gitlab 16.x the max duration is 1y)
i found some intresting api like https://docs.gitlab.com/ee/api/user_tokens.html#create-a-personal-access-token
and
https://docs.gitlab.com/ee/api/personal_access_tokens.html#create-a-personal-access-token-administrator-only
they aren't mapped? or if they are i can't find where :(
can someone point me to the right direction? thanks!
The text was updated successfully, but these errors were encountered:
With PR #1150 a new class was added PersonalAccessTokenApi for https://docs.gitlab.com/ee/api/personal_access_tokens.html but only the rotate method is implemented for now.
PersonalAccessTokenApi
rotate
This can be extended if needed.
Sorry, something went wrong.
And for group access token there is org.gitlab4j.api.GroupApi.rotateGroupAccessToken(Object, Long, Date)
org.gitlab4j.api.GroupApi.rotateGroupAccessToken(Object, Long, Date)
@ramarro123 I am closing this, feel free to re-open if needed
No branches or pull requests
hi,
i need to rotate a token, for security purpose (and because from gitlab 16.x the max duration is 1y)
i found some intresting api like
https://docs.gitlab.com/ee/api/user_tokens.html#create-a-personal-access-token
and
https://docs.gitlab.com/ee/api/personal_access_tokens.html#create-a-personal-access-token-administrator-only
they aren't mapped? or if they are i can't find where :(
can someone point me to the right direction? thanks!
The text was updated successfully, but these errors were encountered: