glab-gpg-key

Manage GitLab GPG keys for commit signing via the glab CLI.

Updated Mar 15, 2026
One-click install
npx skills add https://github.com/ProyectoG007/Skill.bat --skill glab-gpg-key-proyectog007
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: glab-gpg-key
Source: https://github.com/ProyectoG007/Skill.bat/tree/main/scripts/05_Dev_Tools/07.%20gitlab-cli-skills-1.11.0/glab-gpg-key
Command: npx skills add https://github.com/ProyectoG007/Skill.bat --skill glab-gpg-key-proyectog007

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill simplifies the management of GPG keys associated with your GitLab account, ensuring secure and authenticated commit signing.

Core Features & Use Cases

  • Add GPG Keys: Upload new GPG public keys to your GitLab profile.
  • List Keys: View all GPG keys currently registered with your account.
  • Delete Keys: Remove specific GPG keys by their ID.
  • Get Key Details: Retrieve information about a single GPG key.
  • Use Case: When setting up a new development environment or rotating your commit signing keys, use this Skill to easily add and manage your GPG keys on GitLab.

Quick Start

Use the glab gpg-key skill to list all your registered GPG keys.

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?

Adding a GPG key to GitLab involves uploading your GPG public key to your GitLab profile. This enables secure commit authentication and ensures your commits are verified within the GitLab ecosystem.

Can I list and manage my GitLab GPG keys from the command line?

You can list and manage GitLab GPG keys from the command line using the GitLab CLI. This allows you to view all registered keys, retrieve specific key details, and delete keys by their ID directly from your terminal.

What is the best way to rotate GPG keys for a GitLab account?

Rotating GPG keys for a GitLab account involves adding your new GPG public key and deleting the old one by its ID. This maintains continuous secure commit authentication during key lifecycle management.

Does GitLab CLI support deleting a specific GPG key by ID?

Yes, GitLab CLI supports deleting a specific GPG key by its ID. You can easily remove registered keys associated with your account to manage your secure commit signing lifecycle effectively.

Why manage GPG keys for GitLab commit signing?

Managing GPG keys for GitLab commit signing ensures secure and authenticated commits. It verifies authorship, prevents impersonation, and maintains integrity within your development environment.