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 notes
  • 1 β€” Error 😭 something went sideways
  • 2 β€” Command canceled πŸ™ˆ you (or something) hit the brakes
  • 4 β€” 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