feat(gpg-key): add gpg-key management commands
-
Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA. As a benefit of being a GitLab Community Contributor, you receive complimentary access to GitLab Duo.
Description
New Commands Added
-
glab gpg-key add [key-file]- Add a GPG key to your GitLab account -
glab gpg-key list [--show-id]- List all GPG keys for the authenticated user -
glab gpg-key get <key-id>- Get a specific GPG key by ID -
glab gpg-key delete <key-id>- Delete a specific GPG key by ID
Related Issues
Resolves #1052 (closed)
How has this been tested?
Screenshots (if appropriate):
Types of changes
-
Bug fix (non-breaking change which fixes an issue) -
New feature (non-breaking change which adds functionality) -
Breaking change (fix or feature that would cause existing functionality to change) -
Documentation -
Chore (Related to CI or Packaging to platforms) -
Test gap
Closes #1052 (closed)
Edited by Swapnaneel Patra