glab-deploy-token-list(1)

glab(1) glab(1)

NAME

glab-deploy-token-list - List deploy tokens.

SYNOPSIS

glab deploy-token list [flags]

DESCRIPTION

List the deploy tokens of a project or a group.

The output never contains the token value. A token value is shown only once, when the token is created.

Tokens are listed with their expiry, and whether they have been revoked or have expired. Pass --active to list only the tokens that are still usable.

OPTIONS

-a, --active[=false] List only the tokens that are neither revoked nor expired.

-g, --group="" List the deploy tokens of the group instead of a project.

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

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

-R, --repo="" Select another repository. You can use either OWNER/REPO or GROUP/NAMESPACE/REPO. The full URL or Git URL is also accepted.

OPTIONS INHERITED FROM PARENT COMMANDS

-h, --help[=false] Show help for this command.

EXAMPLE

# List the current project's deploy tokens
glab deploy-token list
# List the deploy tokens of a specific project
glab deploy-token list --repo user/my-repo
# List only the tokens that are neither revoked nor expired
glab deploy-token list --active
# List a group's deploy tokens
glab deploy-token list --group group/sub-group
# List the current project's deploy tokens as JSON
glab deploy-token list --output json

SEE ALSO

glab-deploy-token(1)

Oct 2026 Auto generated by spf13/cobra