glab(1)

🌸 NAME 🌸

okay bestie, welcome to the glab(1) manual page for glab-gpg-key-add β€” it adds a GPG key to your GitLab account, no cap πŸ’…βœ¨


πŸ¦‹ SYNOPSIS πŸ¦‹

glab gpg-key add [key-file] [flags]

πŸŽ€ DESCRIPTION πŸŽ€

This command creates a brand-new GPG key that belongs to the user you're currently authenticated as πŸ‘‘πŸ’–


πŸ’« OPTIONS INHERITED FROM PARENT COMMANDS πŸ’«

  • -h, --help[=false] β€” show help for this command 🫢
  • -R, --repo="" β€” select another repository. You can use either OWNER/REPO or GROUP/NAMESPACE/REPO. The full URL or Git URL is also accepted πŸ’…

🌈 EXAMPLE 🌈

# Read GPG key from stdin and upload.
glab gpg-key add

# Read GPG key from specified key file and upload.
glab gpg-key add ~/.gnupg/pubkey.asc

⭐ SEE ALSO ⭐

glab-gpg-key(1) β€” go read that one too, bestie πŸ§šπŸ’œ


auto-generated by spf13/cobra, dated Nov 2026, and it's the glab(1) manual β€” bye bestie! πŸ’–πŸŽ€

πŸ“¦ where this page comes from