Skip to content

Add rake task to delete test SSH keys for a user

Jennifer Louie requested to merge jsl-delete-ssh-keys-task into master

What does this MR do?

Adds a rake task to delete test SSH keys (with titles including 'key for ssh test' or 'key for audit event test') for a given user

This would help to address #213753 (closed) and https://gitlab.com/gitlab-org/quality/team-tasks/-/issues/385#note_328523156

Currently the task selects keys based on these specific strings. How do we make sure the tests generated keys always have these titles? There is an MR that would set a standard prefix on test-generated keys (this task would be updated accordingly)

Does this MR meet the acceptance criteria?

Conformity

Edited by Yorick Peterse

Merge request reports