Skip to main content
Chartbrew v6 uses these variable names in all environments. Variables with the _DEV suffix are no longer supported. Before upgrading, follow the v6 migration guide. Keep separate values for development, test, and production.

Generate the encryption key

You will need a 32 bytes AES encryption key for the CB_ENCRYPTION_KEY variable. Chartbrew generates CB_ENCRYPTION_KEY for you during the first run, but if you wish to have control over the value, you can generate it yourself. Run the following command to generate a valid key: