envs

Buildkite — agent registration

buildkite/agent · version 1

envs add buildkite/agent

This declares the keys below in your catalog and sets none of them. A template is a schema for keys; it never carries a value.

Key Needed Kind Notes
BUILDKITE_AGENT_TOKEN required secret Registers an agent, and Buildkite calls it a long-lived credential, recommending your platform's secret storage so tokens can be rolled over. Revoking one stops new agents starting with it. Buildkite's REST API token has no documented variable name, so it is not offered here.. where to get it

The JSON the CLI reads