CorefinityCorefinityDocs
Open the Control PanelControl Panel
Deployments · 63 of 65

corestack_environment_registry_secret_list

CoreStack Enterprise registry credentials.

Scope readNo secrets returned
On this page

When to use it

List the Composer registry credentials a CoreStack Enterprise environment's builds install private packages with, as its environment page's "Composer registries" card shows them: each credential's id, label, registry (the host), auth_type, the last four characters of its secret (last4), and when it was last verified and last used by a build. The secret and the username are never answered. Use an id as secret_id in corestack_environment_registry_secret_set or corestack_environment_registry_secret_delete.

Saved credentials are used by the environment's builds on build pipeline version 2, and only once Composer registry credentials are switched on for that environment; until then they are kept, and builds do not receive them. They are given to a build for that build only and removed after it.

This is for CoreStack Enterprise environments only. A CoreStack or CoreCluster site keeps its registry secrets in corestack_deployments_secrets_list, by site_id.

The public API's GET /api/corestack/environments/{environment}/deploy-secrets answers the same.

Ask for it

Prompt
Using the Corefinity MCP server, call corestack_environment_registry_secret_list with enterprise_env_id 1530. (CoreStack Enterprise registry credentials.) Tell me what it returned.

Inputs

enterprise_env_idintegerRequired

A CoreStack Enterprise environment's id; for a CoreStack or CoreCluster site use corestack_deployments_secrets_list by site_id. At least 1.

Example call

tools/call
{
  "name": "corestack_environment_registry_secret_list",
  "arguments": {
    "enterprise_env_id": 1530
  }
}

If it is refused

ReasonWhat to do
invalid_argumentsA CoreStack or CoreCluster environment; use corestack_deployments_secrets_list by site_id.
tenant_mismatchThe object does not exist or the token may not see it. Check the id.
pin_refusedThe grant is limited to chosen clusters, sites or environments, and this call is outside them. Open the link in the answer to widen it.
scope_requiredThe token lacks a scope this call needs. Open the link in the answer to add it, then call again.
rate_limitedToo many calls. Wait for the number of seconds the answer names.
temporarily_unavailableThe Control Panel could not answer just now. Nothing was started; try again shortly.
internal_errorSomething went wrong on our side. Quote the trace id to support.

The same task elsewhere

Was this helpful?
Open in ClaudeOpen in ChatGPT