Skip to content
GitLab
Next
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • GitLab GitLab
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 44,761
    • Issues 44,761
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1,331
    • Merge requests 1,331
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.orgGitLab.org
  • GitLabGitLab
  • Issues
  • #225248
Closed
Open
Issue created Jun 29, 2020 by Dan Jensen@djensenContributor

Add Delete buttons to the SSH tab of the credential inventory

Problem to solve

Currently, the credential inventory provides passive insight to administrators and group owners. With the introduction of credential management capabilities like optional SSH key expiration and PAT expiration (#118893 (closed) for gitlab.com), additional functionality is required to enable administrators and group owners to facilitate the rotation of credentials once they're expired.

GitLab would like to strike a balance between necessary policy definition and enforcement that compliance-minded organizations require and maintaining a great developer experience. Abrupt credential revocation is disruptive and frustrating, but an organization unable to rotate credentials for their users faces an increased risk of a credential's compromise.

There's no way to delete SSH credentials on behalf of users for administrators and group owners, who need to enforce this action.

Further details

This was split out from #214811 (closed) per #214811 (comment 369945751).

Intended users

  • Sidney (Systems Administrator)
  • Cameron (Compliance Manager)

Solution

In the "SSH" tab of the credentials inventory, add a Delete button that appears for each SSH credential. Clicking this button causes a confirmation modal to appear. Confirming via the modal causes the SSH credential to be deleted.

SSH

Implementation breakdown

  • Add or modify the path to delete SSH keys for admin/credentials & groups in the backend
  • Add an additional column with the Delete button

Follow-up

  • Improve the confirmation modal #235945 (closed)
Edited Aug 13, 2020 by Jiaan Louw
Assignee
Assign to
Time tracking