使用方法
- 复制安装命令,在自己的智能体环境安装前先检查源码包。
- 从原始文档核对所需工具、凭据和支持的宿主。
- 说明输入材料与期望交付物,并对照来源检查输出。
npx skills add https://github.com/vince-winkintel/gitlab-cli-skills --skill glab-deploy-key开始前需了解
- 安装不包含模型订阅、API 额度或访问文件的权限。
- 仓库星数和安装量反映活跃情况,不等于独立质量或安全测试。
按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。
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
glab deploy-key --helpStructured output
glab deploy-key list and glab deploy-key get support --output json / -F json for structured output, which is useful for agent automation.
# 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 jsonSubcommands
See references/commands.md for full --help output.




