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

feat: use a command to get the API token #355

Open
UtkarshVerma opened this issue Nov 24, 2024 · 1 comment
Open

feat: use a command to get the API token #355

UtkarshVerma opened this issue Nov 24, 2024 · 1 comment
Labels
✨ feature New feature or request

Comments

@UtkarshVerma
Copy link

Is your feature request related to a problem? Please describe.
Currently, the plugin stores the API token as plain text in .obsidian/todoist-token which is not a good practice. Since I use a password manager (rbw) that presents a CLI for accessing the secrets, I would like to have the plugin ask rbw for the API token instead.

Describe the solution you'd like
We can have a configuration option that allows specifying the command to fetch the API token. In my case, that would be rbw get api-keys/todoist.

Describe alternatives you've considered
N/A

Additional context
Other applications handle this problem in the same way.

@UtkarshVerma UtkarshVerma added the ✨ feature New feature or request label Nov 24, 2024
@jamiebrynes7
Copy link
Owner

This is a great idea - I'm not sure how/if it could work on mobile platforms, but it seems sensible to allow this on desktop ones as an option!

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

No branches or pull requests

2 participants