GitLab API

GitlabTool

Actions1095

Keys → getApiV4Keys

AI-generated

Summary

Retrieves the GitLab key identified by its SSH key fingerprint using the GET method by default. Set the base URL and provide GitLab API credentials unless Skip Authentication is enabled; the request targets /api/v4/keys.

Inputs

  • Skip Authentication — Defaults to false. Enable to skip GitLab API authentication.
  • baseUrl — Defaults to https://gitlab.com; the API base URL is used with the GitLab API credential.
  • Method — HTTP method for the request; defaults to GET. Other declared choices are POST, PUT, DELETE, HEAD, and PATCH.
  • Fingerprint (required) — SSH key fingerprint passed as a query parameter to identify the key.

Output shape

A GitLab API response for the key request.

The supplied properties and source do not specify the response fields or whether the API returns a single object or another shape.

Examples

Example 1: Look up an SSH key on GitLab.com

Keep the default base URL and GET method, enter the key fingerprint, and use GitLab API credentials.

Links

Discussion