-
Notifications
You must be signed in to change notification settings - Fork 670
Enable an existing deploy key #196
New issue
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
Comments
At the moment you need to retrieve the key, then use its
No |
Sorry for getting back so late.
The request generated is:
The with that id is present, just not used in that project yet |
I do think this is broken currently. There seems to be no way to enable a deploy key for a project. I'm also getting a 404 on |
I guess the get call for the key is not really supported for the gitlab api. The only way to do it seems to be: |
Currently i can only disable / enable deploykeys that have been created with the project. I have an existing deploy key that is already in use in other projects which i want to enable. But i get an exception in that case:
gitlabProject.keys.enable(12)
AttributeError: 'ProjectKeyManager' object has no attribute 'enable'
Is there a way to make this possible?
The text was updated successfully, but these errors were encountered: