glab-gpg-key

Manage GitLab GPG keys with glab gpg-key subcommands.

1|Updated Apr 18, 2026
One-click install
npx skills add https://github.com/a-ng-d/claude-ui-color-palette --skill glab-gpg-key-a-ng-d
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: glab-gpg-key
Source: https://github.com/a-ng-d/claude-ui-color-palette/tree/main/skills/gitlab-cli-skills/glab-gpg-key
Command: npx skills add https://github.com/a-ng-d/claude-ui-color-palette --skill glab-gpg-key-a-ng-d

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Streamlines the management of GitLab GPG keys for commit signing.

Core Features & Use Cases

  • Add, list, delete, and fetch GPG keys for the currently authenticated user.
  • Use in setting up commit signing for personal or team workflows and ensuring verification of signed commits.
  • Example: Link a new GPG key to your GitLab account and verify that subsequent commits are signed.

Quick Start

Add your first GPG key to your GitLab account using glab gpg-key add <key-file>.

Frequently Asked Questions about glab-gpg-key

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a GPG key to GitLab for commit signing?▼

You can manage GitLab GPG keys by using the glab gpg-key subcommands: add, list, get, and delete. These commands support an optional --repo context for targeting specific projects during key rotation or verification.

How does GPG commit signing verification work in a GitLab workflow?▼

GPG commit signing verification in GitLab works by linking your public GPG key to your GitLab account. Once added via the CLI, GitLab cryptographically verifies subsequent pushed commits against the stored key to confirm author identity.

Can I delete or rotate GPG keys for multiple GitLab projects?▼

Yes, you can delete or rotate GPG keys for multiple GitLab projects using the glab gpg-key delete command. By applying the optional --repo context, you can target specific repositories during your key management workflow.

Do I need the glab CLI to manage GitLab GPG keys?▼

Yes, you need the glab CLI to use this specific GPG key management approach. The Skill enforces support for glab gpg-key subcommands, requiring the CLI tool and an authenticated GitLab session to add, list, or delete keys.

What is the best way to list my current GPG keys in GitLab?▼

The best way to list your current GPG keys in GitLab is by executing the glab gpg-key list command. This outputs standard CLI details for all GPG keys associated with your currently authenticated GitLab user account.