glab(1) glab(1)

glab-ssh-key-get - Returns a single SSH key specified by the ID.

glab ssh-key get [flags]

Pass the key ID as an argument, or run the command without arguments to select a key interactively. Find key IDs by running glab ssh-key list --show-id.

By default, the command prints the public key. Use --output json to return the full key object.

--jq="" Filter JSON output with a jq expression.

-F, --output="text" Format output as: text, json.

-p, --page=1 Page number.

-P, --per-page=20 Number of items to list per page.

-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.

# 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

glab-ssh-key(1)

Jun 2026 Auto generated by spf13/cobra