.nh .TH "glab" "1" "Sep 2026" "Auto generated by spf13/cobra" "" .SH NAME glab-ssh-key-get - Returns a single SSH key specified by the ID. .SH SYNOPSIS \fBglab ssh-key get [] [flags]\fP .SH DESCRIPTION Pass the key ID as an argument, or run the command without arguments to select a key interactively. Find key IDs by running \fBglab ssh-key list --show-id\fR\&. .PP By default, the command prints the public key. 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. .PP \fB-p\fP, \fB--page\fP=1 Page number. .PP \fB-P\fP, \fB--per-page\fP=20 Number of items to list per page. .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 ssh key with ID as argument glab ssh-key get 7750633 # Interactive glab ssh-key get # Interactive, with pagination glab ssh-key get -P 50 -p 2 .EE .SH SEE ALSO \fBglab-ssh-key(1)\fP