GitLab API

GitlabTool

Actions1000

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. Fetch the public key for the 'sid' Debian codename in a project with ID '12345' to verify package signatures.
  2. Retrieve the GPG key for a Debian distribution codename to automate repository setup in CI/CD pipelines.

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 and Debian codename for the request.

Output

JSON

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

Dependencies

  • GitLab API authentication token or credentials

Troubleshooting

  • Ensure the project ID and Debian codename are correctly specified; otherwise, the API request will fail.
  • If authentication is required and skipped, the request may be unauthorized.
  • Verify the base URL is correct for the GitLab instance being accessed.

Links

Discussion