Skip to Content
🎉 New release with new features and improvements! V0.0.4 Release →

Engine Settings

Engine settings are used to configure the behavior of the BSH Engine.

More settings will be added as development progresses.

Settings

Engine Settings

Api Settings

SettingTypeDefaultDescription
Show SQLbooleantrueShow the SQL queries in the responses
Enable RegisterbooleantrueAllow users to register themselves

Secrets

Engine Secrets

For sensitive data that needs to be stored securely, you can use secrets to manage where to retrieve them from:

SourcePrefixDescription
Environmentenv:Variable object passed via BSH_ENV_VAR environment variable

To reference a secret from the environment, prefix the secret name with env:: env:<field>.<subfield>

These secrets are currently only used for BshProviderConfigs entity. This one is used to store the configuration for Emails and Storage.

Used Secrets

The engine uses built-in secrets to configure various services (mailing, storage, JWT) via environment variables.
See environment secrets to learn how to pass those secrets to the engine.

{ "gmail": { "email": "", "password": "" }, "cloudinary": { "apiKey": "", "apiSecret": "", "cloudName": "", "folder": "" }, "jwt": { "secret": "" } }