Skip to content

Ability to manage Project Access Tokens programmatically through the API

Release notes

In GitLab 13.9, we will introduce an API to create Project Access Tokens. API Access for Project Access Tokens will allow deeper customization for users that want to control Project Access Tokens provisioning in external systems or through automation.

Documentation - https://docs.gitlab.com/ee/api/resource_access_tokens.html

Problem to solve

Provide an API endpoint to manage (create, delete, list, revoke) Project Access Tokens as there are quite a few use cases that require this ability (like needing to create those tokens automatically at the time of repo bootstrapping)

Intended users

Devon (DevOps Engineer)

Sidney (Systems Administrator)

User experience goal

End user should be able to to manage (create, delete, list, revoke) Project Access Tokens via API calls

Proposal

Similar to adding the ability to manage Personal Access Tokens through the API in #17176 (closed) we should do the same for Project Access Tokens, though I assume this would be a Project API endpoint.

Further details

The use case outlined by a customer was that they needed to create the Project Access Tokens programmatically at the time of repo bootstrapping.

Links / references

#17176 (closed)

&2587

Edited by Melissa Ushakov