GitLab API

GitlabTool

Actions1000

Overview

This node operation retrieves deploy keys from the GitLab API (version 4). It is useful for scenarios where you need to list or manage deploy keys associated with GitLab projects, such as automating the retrieval of public or private deploy keys for security audits or deployment automation.

Use Case Examples

  1. Fetch the first page of deploy keys with default pagination.
  2. Retrieve only public deploy keys by setting the 'public' query parameter to true.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication for the API request.
Authentication Specifies the authentication method to use, defaulting to GitLab API key authentication.
baseUrl The base URL of the GitLab instance to which the API requests are sent.
Method HTTP method used for the API request, default is GET.
Query Parameters Optional query parameters to filter or paginate the deploy keys list.

Output

JSON

  • deploy_keys - Array of deploy key objects returned from the GitLab API.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the GitLab API key credential is correctly configured and has sufficient permissions to access deploy keys.
  • Verify the baseUrl is correct and accessible.
  • Check query parameters for valid values, especially pagination parameters to avoid empty or incomplete results.

Links

Discussion