Buildkite now lets teams create secrets that only a single pipeline can read, alongside new MCP tools that let AI agents validate pipeline YAML and diagnose failed builds. The agent features will draw the attention. The scoped secrets are the part to act on first, given how many CI and cloud credentials leaked in October 2026.
Buildkite scoped secrets are cluster secrets restricted to one pipeline, and access can be narrowed further by branch, queue, build source or build creator. Teams on Buildkite should move pipeline-specific credentials out of the shared cluster scope and expose each one only to the steps that need it. InfoQ reported the changes on 19 October, based on Buildkite's product update for 27 September to 3 October.
How do Buildkite pipeline-scoped secrets work?
Buildkite secrets live at the cluster level and are readable by agents in that cluster, with each cluster holding its own encryption key, according to Buildkite's documentation. A new secrets view under Pipeline settings lets engineers create a cluster secret that only the current pipeline can access.
Conditions can limit access by branch, queue, build source or build creator. In practice, a deploy key can be readable from the main branch on the production queue and unavailable to a pull request build. Creating one requires permission to edit the pipeline and to manage its cluster. Values are hidden once saved.
Buildkite's Matt Mejia said the change "keeps pipeline-specific secrets together" rather than forcing everything through the wider cluster screens.
Pipelines migrated from GitHub Actions now show a prompt to configure secrets before their first run, and the Buildkite CLI has a command to migrate GitHub Actions secrets. Two agent releases tighten log handling. Agent v4.0.8 redacts captured job errors that contain secrets registered for the job, and v4.0.9 redacts Buildkite tokens by prefix in job logs.
Why do scoped CI secrets matter now?
October was a bad month for credentials. A hijacked LiteLLM 1.107.0 release on 21 October stole cloud, Kubernetes and CI keys from hosts that ran it. Railway disclosed the same day that customer environment variables may have been read. In both cases the advice was to rotate everything the affected system could reach.
That job is only as large as your scoping is loose. A token visible to every pipeline in a cluster has to be treated as exposed by any compromised build in that cluster. A token readable by one pipeline on one branch is a much shorter list.
Scoped storage does not finish the job. A secret declared at the top level of pipeline YAML reaches every step. Buildkite's docs recommend declaring secrets on the individual steps that use them, or calling buildkite-agent secret get only in the script that needs the value.
What do the new Buildkite MCP tools do?
Buildkite's MCP server gained validate_pipeline, which checks YAML against the official schema without uploading the pipeline or starting a build. It does not check environment variable interpolation, plugin configuration, dependency references or dynamically generated steps.
compare_builds lines up a failed build against the last good build on the same branch and reports steps that newly failed, recovered or stayed broken, plus runtime and retry changes. For up to three newly failing steps it includes the end of the job log.
A create_pipeline_webhook tool adds a missing GitHub webhook to an existing pipeline. MCP server v1.23.0 carries a breaking change: create_pipeline now requires callers to set create_webhook. Remote MCP connections can be pinned to one organization through the server URL, including the read-only URL.
Tools that create pipelines or webhooks can change CI configuration. Give agents the read-only URL unless they need more.
OpenTelemetry and Elastic CI Stack changes
Agent v4.1.0 adds cache save and restore durations and sizes to telemetry, and job spans now carry the commit, pull request and build author. Elastic CI Stack v7 moves AWS users to Agent v4 and drops Agent v3. Support for Agent v3 ends on 3 September 2027.
The agent tooling will keep changing month to month. Pipeline-scoped secrets are the change worth adopting before the next leak.
Quick answers
What are Buildkite pipeline-scoped secrets?
They are cluster secrets that only one pipeline can read. Teams create them under Pipeline settings and can narrow access by branch, queue, build source or build creator.
Who can create a pipeline-scoped secret in Buildkite?
A user needs permission to edit the pipeline and to manage its cluster. The value is hidden in the interface once it is saved.
Do scoped secrets stop a secret reaching every step?
No. A secret declared at the top of the pipeline YAML reaches every step. Declare it on the step that needs it, or fetch it with buildkite-agent secret get.







