Reference

glab-deploy-key-list(1)

Get a list of deploy keys for the current project.

NAME

glab-deploy-key-list - Get a list of deploy keys for the current project.

SYNOPSIS

glab deploy-key list [flags]

DESCRIPTION

Each row shows the key's title, key, push access, and creation date. Pass --show-id to also display the key ID, which the get and delete commands accept as an argument. Use --repo to target a project other than the current one.

OPTIONS

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

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

-p, --page=1
Page number.

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

--show-id[=false]
Shows IDs of deploy 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 the current project's deploy keys
glab deploy-key list
# Include the key ID in the output
glab deploy-key list --show-id

SEE ALSO

glab-deploy-key(1)