envs

Unleash — feature toggles

unleash/flags · version 1

envs add unleash/flags

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
UNLEASH_FRONTEND_TOKEN required config Unleash says frontend tokens are not considered secret and are safe to expose client-side. The shape is documented: projects, a colon, the environment, a dot, then sixty-four hex characters.. Shape ^[^:\s]+:[^.\s]+\.[0-9a-f]{64}$. where to get it
UNLEASH_API_TOKEN optional secret The backend token, and Unleash says these are secrets that must not be exposed to end users. Same shape as the frontend one, which is worth knowing: the string tells you nothing about which you are holding.. Shape ^[^:\s]+:[^.\s]+\.[0-9a-f]{64}$. where to get it
UNLEASH_PERSONAL_ACCESS_TOKEN optional secret Tied to a person rather than a project, and Unleash says it is not suitable for use in SDKs. It expires, and Unleash says to rotate before that happens.. where to get it

The JSON the CLI reads