gh-gpg-key
Manage GPG keys registered with the authorized GitHub account. tldr-pages
On several platforms
Several platforms
List GPG keys in the authorized GitHub account
gh gpg-key [lsIdentifyAdd a GPG key to the authorized GitHub account by specifying the key file
gh gpg-key add path/to/key_fileIdentifyAdd a GPG key to the authorized GitHub account by specifying the key ID
gpg --armor --export key_id | gh gpg-key add -IdentifyDelete a GPG key from the authorized GitHub account
gh gpg-key delete key_idIdentify