Skip to content

feat(deploy-keys): expose Deploy Keys management (Free)Β #440

@polaz

Description

@polaz

πŸ‘ React to this issue if you need this feature β€” helps us prioritise.

Problem

Deploy Keys are how CI systems push to repos without using user PATs. GitLab has full CRUD for them but we expose nothing β€” agents can't audit/rotate deploy keys.

Investigation done (current state)

Verified against src/entities/:

  • ❌ grep -ri 'deploy.*key\|deploy_key' src/ returns 0 hits

Re-verify before coding:

grep -rIni 'deploy.*key' src/entities/

Acceptance criteria

  • New entity src/entities/deploy_keys/ with:
    • browse_deploy_keys actions: list (instance / project), get
    • manage_deploy_key actions: add, enable (existing key from another project), update (title, can_push), delete
  • Instance-level list requires admin (uses feat(context): probe admin_mode elevation and expose in whoamiΒ #434 admin probe)
  • Integration test creating SSH keypair, adding to test project, enabling, deleting

GitLab API

Estimate

4h

Context

Found during GitLab 18β†’19 API landscape analysis.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions