CmdID

CmdID / Commands

gh-gpg-key

Manage GPG keys registered with the authorized GitHub account. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

List GPG keys in the authorized GitHub account

gh gpg-key [lsIdentify

Add a GPG key to the authorized GitHub account by specifying the key file

gh gpg-key add path/to/key_fileIdentify

Add a GPG key to the authorized GitHub account by specifying the key ID

gpg --armor --export key_id | gh gpg-key add -Identify

Delete a GPG key from the authorized GitHub account

gh gpg-key delete key_idIdentify