Engine Settings
Engine settings are used to configure the behavior of the BSH Engine.
More settings will be added as development progresses.
Settings

Api Settings
| Setting | Type | Default | Description |
|---|---|---|---|
| Show SQL | boolean | true | Show the SQL queries in the responses |
| Enable Register | boolean | true | Allow users to register themselves |
Secrets

For sensitive data that needs to be stored securely, you can use secrets to manage where to retrieve them from:
| Source | Prefix | Description |
|---|---|---|
| Environment | env: | 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>
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": ""
}
}