Skip to content
Discussion options

You must be logged in to vote

Hi @pawansingh00,

That's a good point. We should clarify the text in the future. Security is always relative to the specific use case. What we intended to convey is that passing the OPENAI_API_KEY via environment variables avoids leaving a potentially unexpected clear text copy of the key on the file system. This text is mainly intended for users of the Theia IDE where this preference will be exposed as-is.

Since you're working on a Theia based application, you have full control over how to handle the API key. You can implement your own LLM provider or copy and customize the existing OpenAI integration. In your customization, you could for example hard code the key or retrieve it from a s…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@pawansingh00
Comment options

Answer selected by pawansingh00
Comment options

You must be logged in to vote
1 reply
@sdirix
Comment options

sdirix Jun 26, 2025
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants