GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation retrieves SSH certificates associated with a specific GitLab group by making an API call to the GitLab server. It is useful for managing and auditing SSH keys linked to group access in GitLab, helping administrators ensure secure access control.

Use Case Examples

  1. Fetch SSH certificates for a GitLab group to audit access keys.
  2. Retrieve SSH certificates to verify which keys are authorized for a group.

Properties

Name Meaning
Skip Authentication Option to bypass authentication for the API request.
Authentication Type of authentication used for the API request, defaulting to GitLab API key.
baseUrl Base URL of the GitLab instance to which the API request is sent.
Method HTTP method used for the API request, default is GET.
Query Parameters Optional query parameters for pagination such as page number and items per page.
Path Parameters Path parameters required for the API call, specifically the group ID.

Output

JSON

  • ssh_certificates - List of SSH certificates associated with the specified GitLab group.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the group ID path parameter is correctly set and is a valid integer to avoid request errors.
  • Verify that the GitLab API key credential is valid and has sufficient permissions to access group SSH certificates.
  • Check the baseUrl to ensure it points to the correct GitLab instance, especially if using a self-hosted GitLab server.
  • If pagination parameters (page, per_page) are used, ensure they are valid integers to avoid API errors.

Links

Discussion