rizerphe/obsidian-companion

Store API key in a separate file?

Opened this issue · 0 comments

I, like many others, use Obsidian Git to synchronize my notes.

I don't want to commit my API key to git and then push that through GitHub or similar systems; there's a good chance it will get scanned by Github and then they could notify OpenAI and the key could be disabled.

I do want to commit my preferences, stored in data.json, however.

If possible, it would be nice to have an secrets.json file (that lives alongside data.json) that I could easily .gitignore.