GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation retrieves the ASCII-armored public key for a specific Debian distribution codename within a GitLab project. It is useful for users who need to access the GPG key associated with a Debian distribution in a project, for example, to verify package authenticity or to configure package repositories.

Use Case Examples

  1. A DevOps engineer uses this node to fetch the public key for the 'sid' Debian codename in a project to set up secure package installation.
  2. A developer automates the retrieval of Debian distribution keys from multiple projects to maintain up-to-date repository configurations.

Properties

Name Meaning
Skip Authentication Option to skip authentication when making the API 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 to specify the project ID or URL-encoded path and the Debian codename for the distribution.

Output

JSON

  • key
    • asc - The ASCII-armored public key of the Debian distribution.

Dependencies

  • GitLab API authentication token or credentials

Troubleshooting

  • Ensure the project ID and Debian codename are correctly specified; otherwise, the API may return a 404 error.
  • If authentication is required and skipped, the request may fail with an unauthorized error.
  • Verify the base URL is correct for self-hosted GitLab instances to avoid connection errors.

Links

Discussion