vince-winkintel/gitlab-cli-skills

glab-deploy-key

Manage SSH deploy keys for GitLab projects including add, list, and delete operations.

查看源码
仓库原始内容

按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。

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 for full --help output.

来自同一仓库

更多 Skills

全部 Skills
vince-winkintel
社区

gitlab-cli-skills

Comprehensive GitLab CLI (glab) command reference and workflows for all GitLab operations via terminal. Use when user mentions GitLab CLI, glab commands, GitLab automation, MR/issue management via CLI, CI/CD pipeline commands, Artifact Registry token exchange, repo operations, authentication setup, or any GitLab terminal operations. Routes to specialized sub-skills for auth, CI, MRs, issues, releases, repos, and 30+ other glab commands. Triggers on glab, GitLab CLI, GitLab commands, GitLab terminal, GitLab automation.

安装量
1
GitHub Stars
48
最近更新
9月9日
vince-winkintel
社区

glab-check-update

Check for glab CLI updates and view latest version information. Use when checking if glab is up to date or finding available updates. Triggers on update glab, check version, glab version, CLI update.

安装量
1
GitHub Stars
48
最近更新
9月9日
vince-winkintel
社区

glab-ci

Work with GitLab CI/CD pipelines, jobs, and artifacts. Use when checking pipeline status, viewing job logs, debugging CI failures, triggering manual jobs, downloading artifacts, validating .gitlab-ci.yml, or managing pipeline runs. Triggers on pipeline, CI/CD, job, build, deployment, artifact, pipeline status, failed build, CI logs.

安装量
1
GitHub Stars
48
最近更新
9月9日
vince-winkintel
社区

glab-completion

Generate shell completion scripts for bash, zsh, fish, or PowerShell. Use when setting up glab autocompletion for your shell. Triggers on completion, autocomplete, shell completion, tab completion.

安装量
1
GitHub Stars
48
最近更新
9月9日