API keys

We shipped support for API keys so you can use the Reflag CLI within CI/CD pipelines and with coding agents.

Available in Settings under SDK & API keys, the page lists SDK keys (known before as "Environment Keys") that you can use when configuring our SDKs in your product. This page also includes the ability to create API keys, which allow access to the Reflag REST API.

API keys currently support 3 scopes: read-only, create flag, and update flag targeting. They enable you to run the Reflag CLI where auth is needed in automated environments, like CI/CD pipelines and background coding agents.

The keys used to be available in a few different places within Reflag web app, so we took the opportunity to consolidate them in one spot.

Check out our docs article for full details on how to use Reflag with CI/CD pipelines, as well as our API access docs, too.