As we reevaluate how to best support and maintain Staging Ref in the future, we encourage development teams using this environment to highlight their use cases in the following issue: https://gitlab.com/gitlab-com/gl-infra/software-delivery/framework/software-delivery-framework-issue-tracker/-/issues/36.

Skip to content
Snippets Groups Projects
Commit 720047a6 authored by Pablo Carranza's avatar Pablo Carranza
Browse files

Change the key format when generating the authorized key to match the legacy one

parent 79aed51b
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -19,7 +19,7 @@ require_relative "../lib/gitlab_keys"
authorized_key = GitlabNet.new.authorized_key(key)
unless authorized_key.nil?
puts GitlabKey.new.key_line(authorized_key["id"], authorized_key["key"])
puts GitlabKey.new.key_line("key-#{authorized_key['id']}", authorized_key["key"])
else
puts "# No key was found for #{key}"
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment