Add revoke and delete button to GPG keys view in the Admin Credentials Inventory
Why are we doing this work
In 12.6
we introduced the Credentials Inventory to help compliance-minded organizations manage their user's access credentials. Currently, this inventory contains information on PATs and SSH keys. The inventory does not include information about GPG keys that are in use, which can be an additional element of managing credentials in a complex context for customers.
We need to give Admin's the ability to revoke and delete GPG keys which are either suspected or actually compromised.
Relevant links
Non-functional requirements
-
Documentation: -
Performance: -
Testing:
Implementation plan
- Create a revoke service for GPG keys in
app/services/gpg_keys/...
- Update revoke method in
app/finders/keys_finder.rb
to include GPG keys and use the new revoke service - Add tests
- Add GPG keys revoke button to view
- Add GPG keys revoke modal to button
- Add tests
- Add QA tests