How to handle secrets with koyeb

I’ve deployed my app to koyeb using private github repo. Secrets.toml is in .gitignore.

My expectation is that if I create SECRET in Koyeb it will work, however I have this error:

An error occurred: No secrets found. Valid paths for a secrets.toml file or secret directories are: /app/.streamlit/secrets.toml, /workspace/.streamlit/secrets.toml

I also tried to use env variables + secrets for local and koyeb, but looks like streamlit doesn’t see them
api_key = os.getenv('OPENAI_API_KEY', st.secrets.get('OPENAI_API_KEY'))

Any help would be appreciated