Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reade the API key from plist file or iOS Target Properties #64

Closed
a-elnajjar opened this issue Mar 27, 2023 · 3 comments
Closed

reade the API key from plist file or iOS Target Properties #64

a-elnajjar opened this issue Mar 27, 2023 · 3 comments

Comments

@a-elnajjar
Copy link

a-elnajjar commented Mar 27, 2023

Can we add a feature to read the API key from Info.plist file in UIkit or iOS Target Properties switUI?

@workingDog
Copy link

I think this is not such a great idea. The API key should be stored in keychain, not in plain text in a file.

@bogdanf
Copy link
Contributor

bogdanf commented Mar 28, 2023

Please don't store the API key in such an obvious way. But if you must, it's easy to implement the "feature" in your own code and just "feed" the API key string to the OpenAISwift.

@adamrushy
Copy link
Owner

Yeah, this is a client level decision! Closing issue 👍🏼

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants