---
name: "glab-deploy-token-get"
section: "1"
platform: "linux"
package: "glab"
version: "1.128.0-1"
release: "Arch Linux 2026-11-07"
platforms: ["linux"]
url: "https://carta.tech/man/glab-deploy-token-get"
---

# glab-deploy-token-get(1)

Get a deploy token.

## NAME

glab-deploy-token-get - Get a deploy token.

## SYNOPSIS

**glab deploy-token get  \[flags\]**

## DESCRIPTION

Get a single deploy token of a project or a group, by its ID.

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

Token IDs come from **glab deploy-token list**.

## OPTIONS

**-g**, **--group**=""\
 	Get a deploy token 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

```
# Get deploy token 42 of the current project
glab deploy-token get 42
# Get a deploy token of a specific project
glab deploy-token get 42 --repo user/my-repo
# Get a group's deploy token
glab deploy-token get 42 --group group/sub-group
# Get a deploy token as JSON
glab deploy-token get 42 --output json
```

## SEE ALSO

**[glab-deploy-token(1)](/man/glab-deploy-token/1.md)**
