Provides encrypted storage for each plugin module's sensitive data, like access tokens. It uses Keychain on macOS and Credentials Manager on Windows. The data can be stored and retrieved as string-to-string key value pairs via a global secureLocalStorage object. Data for each plugin module (module.json) is kept separate from all others. There is a 2KB limit on the string size because this is meant for small pieces of secure info rather than a generic container.
Example
secureLocalStorage.setItem('myLoginPassword', 'myPassword'); console.log("My stored password is: " + secureLocalStorage.getItem('myLoginPassword')); secureLocalStorage.removeItem('myLoginPassword'); console.log("My stored password is: " + secureLocalStorage.getItem('myLoginPassword'));
Provides encrypted storage for each plugin module's sensitive data, like access tokens. It uses Keychain on macOS and Credentials Manager on Windows. The data can be stored and retrieved as string-to-string key value pairs via a global secureLocalStorage object. Data for each plugin module (module.json) is kept separate from all others. There is a 2KB limit on the string size because this is meant for small pieces of secure info rather than a generic container.
Example