glab-gpg-key-list(1)

glab-gpg-key-list1

Get a list of gpg keys for the currently authenticated user.

Usage

glab gpg-key list [flags]

Overview

Each row shows the key and its creation date. Pass --show-id to also display the key ID, which the get and delete commands accept as an argument.

Options

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

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

--show-id[=false]
Shows IDs of GPG keys.

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.

Examples

# List your GPG keys
glab gpg-key list
# Include the key ID in the output
glab gpg-key list --show-id

From glab 1.126.0-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.