Skip to main content

glab-gpg-key

Manage GPG keys for commit signing including add, list, and delete operations. Use when setting up commit signing, managing GPG keys, or verifying signed commits. Triggers on GPG key, commit signing, signed commits, verify commits.

来源信息

仓库
vince-winkintel/gitlab-cli-skills
最近来源活动
2026年4月24日 16:00
检测到的 SKILL.md 语言
英语
星标
49
Forks
6

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
2 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
glab-gpg-key
description
Manage GPG keys for commit signing including add, list, and delete operations. Use when setting up commit signing, managing GPG keys, or verifying signed commits. Triggers on GPG key, commit signing, signed commits, verify commits.
# glab gpg-key ## Overview ``` Manage GPG keys registered with your GitLab account. USAGE glab gpg-key <command> [command] [--flags] COMMANDS add [key-file] Add a GPG key to your GitLab account. delete <key-id> Deletes a single GPG key specified by the ID. get <key-id> Returns a single GPG key specified by the ID. list [--flags] Get a list of GPG keys for the currently authenticated user. 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 gpg-key --help ``` ## Structured output `glab gpg-key list` and `glab gpg-key get` support `--output json` / `-F json` for structured output, which is useful for agent automation. ```bash # List GPG keys with JSON output glab gpg-key list --output json glab gpg-key list -F json # Get a specific GPG key with JSON output glab gpg-key get <key-id> --output json glab gpg-key get <key-id> -F json ``` ## Subcommands See [references/commands.md](references/commands.md) for full `--help` output.
在 GitHub 查看