obsidian-todoist-plugin icon indicating copy to clipboard operation
obsidian-todoist-plugin copied to clipboard

feat: use a command to get the API token

Open UtkarshVerma opened this issue 1 year ago • 1 comments

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 avatar Nov 24 '24 07:11 UtkarshVerma