Restrict SSH keys to specific groups

SSH keys today are instance wide and are associated to users. Group administrators would like to enforce policies for SSH keys that are associated with their groups. Because users on Gitlab.com are not owned by their group administrators are not able to

Proposal

  • When the SSH Key is restricted to a specific group, the SSHKey can be used with projects inside this group and shared with this group
  • We can surface these keys in Group-specific Credential Inventory for Gitlab.com