Come usare
- Copia il comando e controlla il pacchetto prima di installarlo nel tuo ambiente agente.
- Controlla strumenti, credenziali e ambienti richiesti nel documento originale.
- Descrivi input e risultato desiderato; confronta l’output con le fonti.
npx skills add https://github.com/vince-winkintel/gitlab-cli-skills --skill glab-deploy-keyPrima di iniziare
- L’installazione non include abbonamenti, quote API o accesso ai file.
- Stelle e installazioni indicano attività, non un test indipendente di qualità o sicurezza.
Contenuto dal repository con titoli, esempi, codice, tabelle, link e immagini preservati.
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 --helpStructured 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 jsonSubcommands
See references/commands.md for full --help output.




