corestack_ environment_ registry_ secret_ list
CoreStack Enterprise registry credentials.
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_ or corestack_.
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 / answers the same.
Ask for it
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
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
{
"name": "corestack_environment_registry_secret_list",
"arguments": {
"enterprise_env_id": 1530
}
}If it is refused
| Reason | What to do |
|---|---|
invalid_arguments | A CoreStack or CoreCluster environment; use corestack_deployments_secrets_list by site_id. |
tenant_mismatch | The object does not exist or the token may not see it. Check the id. |
pin_refused | The 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_required | The token lacks a scope this call needs. Open the link in the answer to add it, then call again. |
rate_limited | Too many calls. Wait for the number of seconds the answer names. |
temporarily_unavailable | The Control Panel could not answer just now. Nothing was started; try again shortly. |
internal_error | Something went wrong on our side. Quote the trace id to support. |