GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node interacts with the GitLab API to retrieve SSH key information based on a provided fingerprint. It is useful for scenarios where you need to verify or fetch details about a specific SSH key registered in GitLab, such as in automation workflows for managing user access or auditing keys.

Use Case Examples

  1. Retrieve SSH key details by fingerprint to verify user access.
  2. Automate auditing of SSH keys in GitLab for security compliance.

Properties

Name Meaning
Skip Authentication Option to bypass authentication for the request.
Authentication Type of authentication used, defaulting to GitLab API key.
baseUrl Base URL of the GitLab instance to connect to.
Method HTTP method to use for the request.
Query Parameters Collection of query parameters for the request, including the fingerprint of the SSH key to retrieve.

Output

JSON

  • id - Unique identifier of the SSH key.
  • title - Title or name of the SSH key.
  • key - The actual SSH public key string.
  • created_at - Timestamp when the SSH key was created.
  • expires_at - Timestamp when the SSH key expires, if applicable.
  • user_id - ID of the user who owns the SSH key.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the fingerprint query parameter is provided and correctly formatted; missing or invalid fingerprint will cause errors.
  • Authentication errors may occur if the GitLab API key credential is missing or invalid; verify credentials are correctly configured.
  • Network or base URL issues can cause connection failures; confirm the baseUrl is correct and accessible.

Links

Discussion