Where to store private tokens

I have created a script that uses the URL.fetch request function to access a rest api that requires a token. Would like to distribute the script but don’t want to commit by private token of course. Is there advice on how to deal with private tokens in OmniAutomation? Especially to make it easy for anyone that has downloaded a script to add one? Would imagine a plugin could show an alert and ask for the token. Would it then be possible to save this to a file somewhere?

1 Like

A class to store credentials in the Keychain is planned in an upcoming release: https://omni-automation.com/shared/credentials.html

2 Likes

Oh that’s great. Will solve me problem. Look forward to the new version and glad that you continue to improve OmniAutomation each release.