Skip to main content

glab-deploy-key

Manage SSH deploy keys for GitLab projects including add, list, and delete operations. Use when setting up deploy keys for CI/CD, managing read-only access, or configuring deployment authentication. Triggers on deploy key, SSH key, deployment key, read-only access.

Source facts

Repository
vince-winkintel/gitlab-cli-skills
Last source activity
April 24, 2026 at 16:00
Detected SKILL.md language
English
Stars
49
Forks
6

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

File Explorer
2 files

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
glab-deploy-key
description
Manage SSH deploy keys for GitLab projects including add, list, and delete operations. Use when setting up deploy keys for CI/CD, managing read-only access, or configuring deployment authentication. Triggers on deploy key, SSH key, deployment key, read-only access.
# glab deploy-key ## Overview ``` Manage deploy keys. USAGE glab deploy-key <command> [command] [--flags] COMMANDS add [key-file] [--flags] Add a deploy key to a GitLab project. delete <key-id> Deletes a single deploy key specified by the ID. get <key-id> Returns a single deploy key specified by the ID. list [--flags] Get a list of deploy keys for the current project. FLAGS -h --help Show help for this command. -R --repo Select another repository. Can use either `OWNER/REPO` or `GROUP/NAMESPACE/REPO` format. Also accepts full URL or Git URL. ``` ## Quick start ```bash glab deploy-key --help ``` ## Structured output `glab deploy-key list` and `glab deploy-key get` support `--output json` / `-F json` for structured output, which is useful for agent automation. ```bash # List deploy keys with JSON output glab deploy-key list --output json glab deploy-key list -F json # Get a specific deploy key with JSON output glab deploy-key get <key-id> --output json glab deploy-key get <key-id> -F json ``` ## Subcommands See [references/commands.md](references/commands.md) for full `--help` output.
View on GitHub