Skip to content

Add Usage Type to SSH keys

Igor Drozdov requested to merge id-add-usage-type-to-keys into master

What does this MR do and why?

Related issue: #375258 (closed)

Add an ability to create an SSH key of different usage types:

  • For authentication only
  • For signing only
  • For both

Auth & Signing is the default value to make it easier for users start signing the commits: !97248 (comment 1172807823)

Test locally

In order to test locally, ssh_key_usage_types feature flag must be enabled:

rails c

=> Feature.enable(:ssh_key_usage_types)

Screenshot

Index page

Screenshot_2022-11-17_at_16.13.33

Show page

Screenshot_2022-11-17_at_16.14.59

Edited by Igor Drozdov

Merge request reports

Loading