envs

DevCycle — feature flags

devcycle/flags · version 1

envs add devcycle/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
DEVCYCLE_CLIENT_SDK_KEY required config DevCycle says these are safe in a client-facing application but should not be checked into source control, which is the sharpest statement in the registry that publishable and committable are different questions.. where to get it
DEVCYCLE_MOBILE_SDK_KEY optional config The same severity, safe inside a built mobile binary and equally not for source control. Kept separate from the client key so one can be rotated without the other.. where to get it
DEVCYCLE_SERVER_SDK_KEY optional secret DevCycle says it must be kept secret because it reaches the full project configuration, and never to include it client-side, since a mobile binary can be unpacked and browser traffic inspected.. where to get it
DEVCYCLE_CLIENT_SECRET optional secret For the management API, which reads and modifies everything. DevCycle says not to share it or deploy any client-side code containing it. Compromised keys are replaced then invalidated by a delete call.. where to get it

The JSON the CLI reads