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 eitherOWNER/REPOorGROUP/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
- arch rolling: glab 1.128.0-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms