Hetzner hcloud icon

Hetzner hcloud

Interact with the cloud api of the german infrastructure provider Hetzner.

Actions47

Certificate → List

AI-generated

Summary

Retrieve a filtered and paginated list of SSL certificates from Hetzner Cloud according to specified parameters such as name, labels, type, sorting order, page number, and items per page.

Inputs

  • name — Filter certificates by their exact name; only certificates matching this name are returned.
  • label_selector — Filter certificates by labels using a label selector string; only certificates matching the selector are returned.
  • type — Filter certificates by type with options 'uploaded' or 'managed'; only certificates of the specified types are returned.
  • sort — Define the sort order of the returned certificates by id, name, or creation date, each ascending or descending.
  • page — Specify the page number of the certificate list to retrieve; defaults to the first page.
  • per_page — Specify the number of certificates to retrieve per page; defaults to 25 items.

Output shape

a list of certificate objects matching the filter criteria

Supports pagination with 'page' and 'per_page' parameters; returns only those certificates that match provided name, label selector, and type filters; sorting is applied as specified.

Examples

Example 1: List the first page of uploaded certificates named 'example-cert', sorted by creation date descending

Set 'name' to 'example-cert', 'type' to 'uploaded', 'sort' to 'created:desc', 'page' to 1, and 'per_page' to desired count.

Links

Discussion