GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation retrieves the public key for web commits from the GitLab API. It is useful for scenarios where you need to verify or interact with web commit signatures securely, such as in CI/CD pipelines or automated deployment workflows.

Use Case Examples

  1. Fetching the public key to verify commit signatures in a GitLab repository.
  2. Automating security checks by retrieving the public key for web commits in a GitLab project.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication for the API request.
Authentication Specifies the authentication method to use, typically an API key credential for GitLab.
baseUrl The base URL of the GitLab instance to which the API request is sent.
Method The HTTP method used for the API request.

Output

JSON

  • public_key - The public key for web commits retrieved from the GitLab API.

Dependencies

  • GitLab API authentication (API key credential)

Troubleshooting

  • Ensure the baseUrl is correct and accessible; incorrect URLs can cause connection failures.
  • If authentication is required and skipped, the request may fail with authorization errors; verify credentials are set properly.
  • Check that the HTTP method is set to GET for this operation, as other methods may not be supported for retrieving the public key.

Links

Discussion