You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using GitLab Community Edition 11.0.4 and latest python-gitlab (pip installed today). There's nothing to handle deploy tokens (I'm not speaking about deploy keys here !)
I couldn't find any reference to deploy tokens in the GitLab API documentation. If this API doesn't exist python-gitlab will not be able to handle this feature. Do you have a link to code or documentation?
@max-wittig although the link given was to the Deploy Keys API, it's true that the Deploy Token API will be available with 12.9 (and is probably testable already on nightly images and gitlab.com): https://docs.gitlab.com/ee/api/deploy_tokens.html
So it looks like this will be relevant again soon :)
Activity
gpocentek commentedon Sep 11, 2018
Hi @rgarrigue
I couldn't find any reference to deploy tokens in the GitLab API documentation. If this API doesn't exist python-gitlab will not be able to handle this feature. Do you have a link to code or documentation?
Thanks.
rgarrigue commentedon Sep 11, 2018
Hi @gpocentek
Seems it's missing, I found the related FR here https://gitlab.com/gitlab-org/gitlab-ce/issues/45149
So I guess that make this issue on hold as a reminder for later on, or if implementing new API is part of your process it can be closed.
max-wittig commentedon Jul 25, 2019
Let's close this for now. We don't know, if this will every be available as API.
machine424 commentedon Mar 17, 2020
a Deploy Token API is now available: https://docs.gitlab.com/ee/api/deploy_keys.html
Are you planning to support it ? I can help.
max-wittig commentedon Mar 17, 2020
Sure. We're open for MRs!
max-wittig commentedon Mar 17, 2020
@machine424 I've check again and it seems like we already support deploy keys: https://python-gitlab.readthedocs.io/en/latest/gl_objects/deploy_keys.html
nejch commentedon Mar 17, 2020
@max-wittig although the link given was to the Deploy Keys API, it's true that the Deploy Token API will be available with 12.9 (and is probably testable already on nightly images and gitlab.com): https://docs.gitlab.com/ee/api/deploy_tokens.html
So it looks like this will be relevant again soon :)
machine424 commentedon Mar 18, 2020
@max-wittig, I didn't check the link after pasting it. I was talking about Deploy Tokens. (thanks @nejch)
I can open a draft PR.
machine424 commentedon Mar 19, 2020
The PR is here: #1052
nejch commentedon Apr 7, 2020
Closing this as #1052 has been merged.