---
name: "gt-repo-deploy-key"
section: "1"
platform: "linux"
package: "gitea-cli"
version: "1.0.0-1"
release: "Arch Linux 2026-11-07"
platforms: ["linux"]
url: "https://carta.tech/man/gt-repo-deploy-key"
---

# gt-repo-deploy-key(1)

Manage deploy keys

## NAME

gt-repo-deploy-key - Manage deploy keys

## SYNOPSIS

**gt repo deploy-key \[flags\]**

## DESCRIPTION

Manage the deploy keys of a repository: SSH keys that grant access to that repository only, such as for a build server. A deploy key can read the repository, and push to it when added with --allow-write.

## OPTIONS

**-h**, **--help**\[=false\]\
 	help for deploy-key

## OPTIONS INHERITED FROM PARENT COMMANDS

**--cwd**=""\
 	Working **directory** for repository discovery

**--debug**\[=false\]\
 	Log the method, URL, status, and duration of each HTTP request to stderr

**--host**=""\
 	Gitea instance **URL**, including any base path

**--interactive**\[=false\]\
 	Allow prompts with machine output

**--no-input**\[=false\]\
 	Disable prompts and implicit editor/browser interactions

**--remote**=""\
 	Git **remote** used for repository discovery

**-R**, **--repo**=""\
 	Select a repository as **OWNER/REPO** or URL

**--sudo**=""\
 	Perform API requests as this **user** (requires an administrator account)

**--user**=""\
 	Account **name** on the selected instance

## SEE ALSO

**[gt-repo(1)](/man/gt-repo/1.md)**, **[gt-repo-deploy-key-add(1)](/man/gt-repo-deploy-key-add/1.md)**, **[gt-repo-deploy-key-delete(1)](/man/gt-repo-deploy-key-delete/1.md)**, **[gt-repo-deploy-key-list(1)](/man/gt-repo-deploy-key-list/1.md)**
