---
name: "gh-repo-deploy-key"
section: "1"
platform: "linux"
package: "github-cli"
version: "2.102.1-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/gh-repo-deploy-key"
---

# gh-repo-deploy-key(1)

Manage deploy keys in a repository

## NAME

gh-repo-deploy-key - Manage deploy keys in a repository

## SYNOPSIS

**gh repo deploy-key \<command\> \[flags\]**

## AVAILABLE COMMANDS

- **[gh-repo-deploy-key-add(1)](/gh-repo-deploy-key-add/1.md)**

  Add a deploy key to a GitHub repository

- **[gh-repo-deploy-key-delete(1)](/gh-repo-deploy-key-delete/1.md)**

  Delete a deploy key from a GitHub repository

- **[gh-repo-deploy-key-list(1)](/gh-repo-deploy-key-list/1.md)**

  List deploy keys in a GitHub repository

## OPTIONS

- **-R**, **--repo** **\<\[HOST/\]OWNER/REPO\>**

  Select another repository using the \[HOST/\]OWNER/REPO format

## EXIT CODES

0: Successful execution

1: Error

2: Command canceled

4: Authentication required

NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information.

## SEE ALSO

**[gh-repo(1)](/gh-repo/1.md)**
