Jump to content

Cli/ref/mw gitlab ssh-key get

From mediawiki.org
< Cli | ref

mw gitlab ssh-key get

[edit]

Returns a single SSH key specified by the ID.

mw gitlab ssh-key get <key-id> [flags]

Examples

[edit]
# Get ssh key with ID as argument
$ glab ssh-key get 7750633

# Interactive
$ glab ssh-key get

# Interactive, with pagination
$ glab ssh-key get -P 50 -p 2

Options

[edit]
  -p, --page int       Page number (default 1)
  -P, --per-page int   Number of items to list per page (default 20)

Options inherited from parent commands

[edit]
      --help              Help for this command
      --no-interaction    Do not ask any interactive questions
  -R, --repo OWNER/REPO   Select another repository using the OWNER/REPO or `GROUP/NAMESPACE/REPO` format or full URL or git URL
  -v, --verbose count     Increase output verbosity. Example: --verbose=2 or -vv

SEE ALSO

[edit]