glab(1)

✨ glab(1): gpg-key get ✨

okay bestie, you’re in the glab(1) manual and this page is all about grabbing one single GPG key by its ID. iconic little task, no cap πŸ’…

🌸 NAME 🌸

glab-gpg-key-get β€” Returns a single GPG key specified by the ID.

πŸ¦‹ SYNOPSIS πŸ¦‹

glab gpg-key get  [flags]

πŸ’– DESCRIPTION πŸ’–

Pass the ID of the key to return as an argument, bestie. That’s the whole move. 🫢

Find key IDs by running glab gpg-key list --show-id β€” yes, that’s your little treasure map. πŸ—ΊοΈβœ¨

By default, the command prints the key’s ID, public key, and creation date. Cute, concise, slay.

Use --output json to return the full key object. json mode unlocked πŸ”₯

πŸŽ€ OPTIONS πŸŽ€

  • --jq="" β€” Filter JSON output with a jq expression. iykyk, jq girlies stay winning πŸ’œ
  • -F, --output="text" β€” Format output as: text, json.

🌈 OPTIONS INHERITED FROM PARENT COMMANDS 🌈

  • -h, --help[=false] β€” Show help for this command. the classic rescue button 🫢
  • -R, --repo="" β€” Select another repository. You can use either OWNER/REPO or GROUP/NAMESPACE/REPO. The full URL or Git URL is also accepted. repo-hopping realness πŸ¦‹

πŸ“ EXAMPLE πŸ“

# Get GPG key with ID as argument
glab gpg-key get 7750633

πŸ‘‘ SEE ALSO πŸ‘‘


πŸŽ€ source/version vibes: Auto generated by spf13/cobra Β· date: Nov 2026 Β· manual: glab(1) β€” byeee bestie, go get that key! πŸ’–βœ¨
πŸ“¦ where this page comes from