Setting up a secret

Tonic Structural stores and encrypts your database credentials.

To use your own encryption key, during initial installation, add the environment setting TONIC_SECRET to both the Structural worker and Structural web server containers.

TONIC_SECRET must have the same value in both containers. It can be any string.

TONIC_SECRET is encrypted using AES. The encryption uses a 128-bit key.

Last updated

Was this helpful?