How to add dynamic/configurable environment variables?

Hello community,

I’m trying to implement environment variables that can be easily changed or configured within our setup, but I’m encountering difficulties.

I attempted to use a settings configuration block, similar to what I’ve seen in some examples, hoping it would allow for configurable values. Here’s the snippet I tried:

settings:
  - id: AUTHENTICATION_API_KEY
    label: Authentication API Key
    description: >-
      Insert the API key for Evolution API authentication.
      Keep this key safe and secret.
    type: text # Or password, if you want the value hidden in the interface
    defaultValue: "elnQ50CpUEnyzgJ2ORKNxsZAKLAbbSWJ" # You can define a strong default value if desired
    showOnlyOnFirstInstall: true # If you want it to appear only on first install

However, this approach doesn’t seem to be working as expected for allowing dynamic changes or being recognized as a changeable environment variable.

Furthermore, traditional methods like using .sh scripts or .env files also haven’t been successful or applicable in this environment.

Could someone please guide me on the correct or recommended way to set up truly dynamic and configurable environment variables in this context?

Any insights or alternative approaches would be greatly appreciated!

Thank you.