GH-GPG-KEY-LIST(1)
πΈ gh-gpg-key-list(1) πΈ
okay so bestie, welcome to the GitHub CLI manual β this is the page for gh-gpg-key-list, and yes it's exactly as iconic as it sounds π
β¨ NAME β¨
gh-gpg-key-list β literally lists the GPG keys chilling in your GitHub account π no cap, that's the whole job.
π¦ SYNOPSIS π¦
gh gpg-key list [flags]
that's it. that's the incantation. type it, hit enter, and your keys show up like β¨
π ALIASES π
gh gpg-key lsβ same energy, shorter name. use whichever one your fingers vibe with π«Ά
π₯ EXIT CODES π₯
so when the command finishes, it tells you how it went with a little number. vibe check, basically:
0β Successful execution π everything slayed, no notes1β Error π something went sideways2β Command canceled π you (or something) hit the brakes4β Authentication required π you gotta prove you're you first, bestie
β NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information. (iykyk β always check the help if a number shows up that isn't on this list π)
π SEE ALSO π
gh-gpg-key(1)β the main character of this whole GPG key situation, go say hi π
and that's the page!! mwah π
this lil masterpiece is from GitHub CLI v2.102.0, dated Oct 2026 β so if you're reading this in the future, hi, hope the keys are keying π¦β¨π
π¦ where this page comes from
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms