GitLab API

GitlabTool

Actions1095

Debian_distribution → getApiV4GroupsIdDebianDistributionsCodenameKeyAsc

AI-generated

Summary

Retrieve the public GPG key (.asc) for a specified Debian distribution codename within a GitLab group identified by its ID or URL-encoded path.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab group containing the Debian distribution.
  • codename (required) — The Debian distribution codename (e.g., 'sid') for which to retrieve the GPG key.
  • skipAuthentication — Set to true to skip authentication; otherwise, uses GitLab API credentials.
  • baseUrl — The base URL of the GitLab instance; defaults to 'https://gitlab.com'.

Output shape

a string containing the ASCII armored public GPG key (.asc) corresponding to the specified Debian distribution codename within the given group.

Returns the raw .asc key without additional metadata. Authentication is used by default unless explicitly skipped. The operation performs an HTTP GET request to the endpoint /api/v4/groups/{id}/-/debian_distributions/{codename}/key.asc.

Links

Discussion