envs

CircleCI — API token

circleci/api · version 1

envs add circleci/api

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
CIRCLE_TOKEN required secret The name CircleCI's own API examples export. CircleCI never calls it secret in words; it says stored variables are hidden and uneditable, and that a token cannot be modified after creation, so replacing one means deleting and recreating it. CircleCI calls that rotation.. where to get it

The JSON the CLI reads