glab(1)

πŸ’… glab-deploy-key-get πŸ’…

okay bestie, welcome to the glab(1) manual β€” specifically the page for glab-deploy-key-get, and yes she is serving β€œone deploy key, chosen by ID” energy. πŸŽ€


πŸ’– NAME πŸ’–

glab-deploy-key-get β€” Returns a single deploy key specified by the ID.


✨ SYNOPSIS ✨

glab deploy-key get  [flags]

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so first thing: you pass the ID of the key you want back as an argument. Literally just hand over the ID and let her cook. πŸ“

Wanna find key IDs? Run glab deploy-key list --show-id and boom, IDs acquired. The --repo flag is there when you need to target a project other than the current one β€” main character relocation behavior, honestly. 🧚

By default, the command prints the key's title, public key, push access, and creation date. And if you want the full key object? Use --output json, periodt. πŸ‘‘


🌸 OPTIONS 🌸

  • --jq="" β€” Filter JSON output with a jq expression. 🫢
  • -F, --output="text" β€” Format output as: text, json. πŸ’…

πŸ‘‘ OPTIONS INHERITED FROM PARENT COMMANDS πŸ‘‘

  • -h, --help[=false] β€” Show help for this command.
  • -R, --repo="" β€” Select another repository. You can use either OWNER/REPO or GROUP/NAMESPACE/REPO. The full URL or Git URL is also accepted.

πŸ”₯ EXAMPLE πŸ”₯

# Get deploy key with ID as argument
glab deploy-key get 1234

🌈 SEE ALSO 🌈


mwah πŸ’‹ this page was auto generated by spf13/cobra, dated Nov 2026, and it lives in the glab(1) manual. bye bestie, go get that key 🫢✨

πŸ“¦ where this page comes from