GrowthBook — feature flags
growthbook/flags · version 1
envs add growthbook/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 |
|---|---|---|---|
GROWTHBOOK_CLIENT_KEY |
required | config | GrowthBook says the SDK endpoint gives read-only access to just enough flag data for an SDK to assign values, and that these are meant to be public and need no authentication to view.. where to get it |
GROWTHBOOK_DECRYPTION_KEY |
optional | config | Decrypts the payload the client key already fetched. GrowthBook says nothing about it; it is public here because it must travel to wherever that payload is decrypted, which is the browser.. where to get it |
GROWTHBOOK_SECRET_KEY |
optional | secret | GrowthBook calls secret keys sensitive and says they carry the access of their role, admin or read-only.. where to get it |
GROWTHBOOK_PERSONAL_ACCESS_TOKEN |
optional | secret | GrowthBook says these are sensitive and give the same access the person has to the organisation.. where to get it |