Reference

glab-gpg-key-list(1)

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

NAME

glab-gpg-key-list - Get a list of GPG keys for the currently authenticated user.

SYNOPSIS

glab gpg-key list [flags]

DESCRIPTION

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.

EXAMPLE

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

SEE ALSO

glab-gpg-key(1)