GitLab API

GitlabTool

Actions905

Overview

This node operation retrieves the ASCII-armored public key (.asc) for a specific Debian distribution codename associated with a GitLab project. It is useful for users who need to access the Debian package signing key for verifying packages from a project's Debian repository. For example, a developer or system administrator can use this node to programmatically fetch the public key to automate package verification processes.

Use Case Examples

  1. Fetching the Debian distribution key for a project to verify package authenticity.
  2. Automating retrieval of Debian keys for multiple projects in a CI/CD pipeline.

Properties

Name Meaning
Skip Authentication Whether to skip authentication for the request.
Authentication The authentication method used, typically an API key credential for GitLab.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method The 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 which the key is requested.

Output

JSON

  • key
    • asc - The ASCII-armored public key for the specified Debian distribution codename.

Dependencies

  • GitLab API authentication token or API key credential

Troubleshooting

  • Ensure the project ID and Debian codename are correctly specified and URL-encoded if necessary.
  • Authentication errors may occur if the API key is missing or invalid; verify credentials.
  • The requested Debian distribution key may not exist if the codename is incorrect or the project does not have a Debian distribution configured.

Links

Discussion