mcpField
G
glab-deploy-key

glab-deploy-key

github.com/vince-winkintelCloud & DevOps4999 installsUpdated 1d ago
Repository

About glab-deploy-key

glab-deploy-key is a skill for managing GitLab project deploy keys with glab. It covers key addition, deletion, retrieval, and JSON output for listing or inspecting keys.

Key features

  1. 01Add deploy keys to projects
  2. 02Delete a deploy key by ID
  3. 03Retrieve a deploy key by ID
  4. 04List keys with JSON output
  5. 05Get key details as JSON

Use cases

  1. 01Add a deploy key to a GitLab project
  2. 02Remove a key identified by its ID
  3. 03Use structured key data in agent automation

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/vince-winkintel/gitlab-cli-skills --skill glab-deploy-key

After installing, type/glab-deploy-keyin Claude Code to confirm it loaded.

Bundled filesreferences/commands.md

Details

From the project README

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 --help

Structured 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 json

Subcommands

See references/commands.md for full --help output.

Comments

Markdown supported