Add a deploy key to a project
One step with GitLab. We can help you get access.
Get something done
Add a deploy key to a project
with GitLab
Works with AI assistants
Use GitLab: its GitLab REST Deploy resources API lets you add a deploy key to a project in a single step (POST /api/v4/projects/{id}/deploy_keys). GitLab also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- How do I add a deploy key so CI can deploy to my project?
- Can a new deploy key be given push access to the repository?
Say it to your AI assistant
- Add deploy key {title} with key {key} to project {id}.
- Add deploy key {title} to project {id} with push access {can_push}.
For your developer
POST /api/v4/projects/{id}/deploy_keys in GitLab REST Deploy resources API. Full spec on APIs.io.