You can use the secrets by entering ${{SECRET.<SECRET_NAME>}} in the Value of the environment variables that can be set from SideApp or Function.
The registered secrets will become OS-level environment variables. To use them in functions, injections, etc., you can execute import os in a Python script just like in general development, and retrieve the environment variable using os.getenv("key").
For example, if you configure the registered secrets OPEN_AI_ORGID and OPEN_AI_API_KEY to be used as environment variables, they will be displayed as below.
Note: Be cautious when using secrets without specifying values as environment variables. In this case, the environment variable will be empty.