GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation retrieves the public key of a specific remote mirror for a given project in GitLab. It is useful for scenarios where you need to access or verify the public key associated with a remote mirror of a GitLab project, such as for security audits or integration setups.

Use Case Examples

  1. Fetch the public key of a remote mirror to verify its authenticity before syncing data.
  2. Retrieve the public key to configure secure communication between GitLab and an external system.

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 authentication.
baseUrl The base URL of the GitLab instance to connect to, defaulting to https://gitlab.com.
Method The HTTP method to use for the request, defaulting to GET.
Path Parameters Parameters required in the request path to identify the project and remote mirror.

Output

JSON

  • public_key - The public key of the specified remote mirror.

Dependencies

  • Requires GitLab API authentication credentials or can skip authentication if configured.

Troubleshooting

  • Ensure the project ID and mirror ID are correctly specified and URL-encoded if necessary.
  • Authentication errors may occur if the API key is missing or invalid; verify credentials.
  • Network or base URL misconfiguration can cause connection failures; check the baseUrl property.

Links

Discussion