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.

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-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.
View on GitHub