.nh .TH "glab" "1" "Sep 2026" "Auto generated by spf13/cobra" "" .SH NAME glab-gpg-key-get - Returns a single GPG key specified by the ID. .SH SYNOPSIS \fBglab gpg-key get [flags]\fP .SH DESCRIPTION Pass the ID of the key to return as an argument. Find key IDs by running \fBglab gpg-key list --show-id\fR\&. .PP By default, the command prints the key's ID, public key, and creation date. Use \fB--output json\fR to return the full key object. .SH OPTIONS \fB--jq\fP="" Filter JSON output with a jq expression. .PP \fB-F\fP, \fB--output\fP="text" Format output as: text, json. .SH OPTIONS INHERITED FROM PARENT COMMANDS \fB-h\fP, \fB--help\fP[=false] Show help for this command. .PP \fB-R\fP, \fB--repo\fP="" Select another repository. You can use either OWNER/REPO or GROUP/NAMESPACE/REPO. The full URL or Git URL is also accepted. .SH EXAMPLE .EX # Get GPG key with ID as argument glab gpg-key get 7750633 .EE .SH SEE ALSO \fBglab-gpg-key(1)\fP