envs

Flagsmith — feature flags

flagsmith/flags · version 1

envs add flagsmith/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
FLAGSMITH_ENVIRONMENT_KEY required config Flagsmith calls it a public, non-secret environment key and says it can be exposed in client-side code, describing the flags API as open by design.. where to get it
FLAGSMITH_SERVER_SIDE_ENVIRONMENT_KEY optional secret A different key for the same environment, which server SDKs and local evaluation require. Flagsmith says it should be considered secret.. where to get it
FLAGSMITH_ORGANISATION_API_TOKEN optional secret For the admin API. Flagsmith says it requires a secret key that should never be exposed in client-side code.. where to get it

The JSON the CLI reads