Summary
I want to enable users to enter their own API key (e.g. OpenAI) so that they can submit requests that they will pay for.
Requirements
Allow entry of API key.
Pass to python function which decrypts it and sends it as a parameter in a call to the API service.
Ask
What is the recommended way to do this?
1 Like
asehmi
March 13, 2023, 2:36am
2
Looks like this app did it using a one way hash + encrypted session state storage. See the FAQ “How does GPT Lab ensure the security of my information?”. The details are not provided.
1 Like
dclin
March 13, 2023, 5:16pm
3
Unless you need to store them in your data store, just use session state variables.
system
Closed
March 12, 2024, 5:17pm
4
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.