Credentials from the environment
BRONTO_API_KEY is set, no keychain lookup happens. BRONTO_REGION defaults to
eu, so set it if your account is in us. Use the least-privileged key that works: an
ingestion-only key for jobs that only run bronto send, a Search key for read-only jobs.
API Keys lists the roles.
To fail a pipeline early on a bad credential, run bronto auth status. It exits non-zero
if the API rejects the key:
GitHub Actions
VERSION=v<x.y.z> sh instead of sh, so a new release doesn’t change
your pipeline unannounced.
Docker
The published images contain only the binary (plus CA certificates), with/bronto as
the entrypoint:
-distroless tag. Install lists
the available tags.
To feed a file into a command, mount it and use --input, or pipe it to stdin with
docker run -i:
Restricted environments
Sandboxes and locked-down runners often have no keychain and a read-only home directory.- Set
BRONTO_API_KEYandBRONTO_REGION. That’s all most commands need. - If you need
bronto config setor profile files, pointBRONTO_CONFIG_DIRat a writable directory. The CLI reads and writesbronto/config.tomlunder it, and the fallbackbronto/credentialsfile if there’s no keychain. - Don’t commit an API key to
.bronto.toml. The CLI refuses to readapi_keyfrom any config file.
Tips for CI
- Make destructive steps explicit with
--yes. Without it,deleterefuses to run outside a terminal. - Run mutating steps with
--dry-runin pull-request jobs and for real on the main branch. - Branch on exit codes.
5means rate limited or timed out. Retrying is safe for reads; a timed-out write may already have landed, so check before you retry it. - Add
--quietto keep logs to data and errors, and--debugwhen a step fails and you need to see the requests. bronto api-keys listmasks key values even in JSON, so it’s safe to print in logs.

