GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation retrieves the deploy keys for a specific project in GitLab using the GitLab API. It is useful for scenarios where you need to manage or audit deploy keys associated with a project, such as verifying which keys have access or automating key management tasks.

Use Case Examples

  1. Fetch deploy keys for a project to display them in a dashboard.
  2. Automate the retrieval of deploy keys to check for security compliance.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
Authentication Type of authentication used, default is GitLab API key.
baseUrl Base URL of the GitLab instance, default is https://gitlab.com.
Method HTTP method to use for the request, default is GET.
Query Parameters Optional query parameters for pagination.
Path Parameters Path parameters required for the request.

Output

JSON

  • deployKeys - Array of deploy keys associated with the specified project.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the project ID is correctly provided in the path parameters to avoid 404 errors.
  • Verify that the API key has sufficient permissions to access the project's deploy keys.
  • Check the base URL if using a self-hosted GitLab instance to avoid connection errors.

Links

Discussion