List secrets
list_secretsList secret names and restrictions for repository, organization, or global scope, without ever exposing the secret values themselves. A pipeline may still inherit secrets from a higher scope.
Instructions
Lists the secrets at one level — repository, organization or instance-wide. Values are never returned by Woodpecker, not even here; you get names, events and image restrictions. Note that a pipeline sees all three levels, so a name missing here may still exist one level up.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, starting at 1. | |
| scope | Yes | Which level to act on. "repository" needs repo_id, "organization" needs org_id, and "global" is instance-wide and needs neither (admin only). A pipeline sees the repository level first, then the organization, then global. | |
| org_id | No | Required when scope is "organization". | |
| repo_id | No | Required when scope is "repository". | |
| per_page | No | Entries per page (1 … 50). Woodpecker clamps anything above 50 without saying so. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| truncated | No | Present only when the answer was shortened to fit the budget. |