GitLab API

GitlabTool

Actions1000

Overview

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

Use Case Examples

  1. Fetching the public key for the 'sid' Debian codename in a GitLab group with ID '12345'.
  2. Retrieving the Debian distribution key to set up a secure package repository for a GitLab group.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication for 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 group ID and Debian codename for the request.

Output

JSON

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

Dependencies

  • GitLab API authentication token or credentials

Troubleshooting

  • Ensure the group ID and Debian codename are correctly specified; incorrect values will result in errors or no data returned.
  • If authentication is required and skipped, the request will fail with an authorization error.
  • Verify the base URL is correct for the GitLab instance being accessed.

Links

Discussion