GitLab API icon

GitLab API

Gitlab

Actions880

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 SSH public key associated with a remote mirror of a project, such as for security audits, synchronization setups, or integration with other systems.

Use Case Examples

  1. Fetch the public key of a remote mirror to verify its authenticity before setting up automated mirroring.
  2. Retrieve the SSH public key to configure access permissions or troubleshoot mirroring issues.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request, default is GET.
Path Parameters Parameters required in the request path to identify the project and remote mirror.

Output

JSON

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

Dependencies

  • GitLab API authentication token or credentials

Troubleshooting

  • Ensure the project ID and mirror ID are correct and exist in the GitLab instance.
  • Verify that the authentication token has sufficient permissions to access project remote mirrors.
  • If skipping authentication, ensure the GitLab instance allows unauthenticated access to this endpoint.

Links

Discussion