local-credentials
Read data out of an ini
formatted ~/.local/credentials
file e.g. ~/.aws/credentials
Example Usage
You can use this library with either a Promise or a Callback based interface
async/await
{ try let Credentials = ; const c = "~/.basic/credentials"; const defaultData = await c; // Returns the "default" section const specialData = await c; // Returns the "special" section console; console; catch err console; } ;
Callback
let Credentials = ; const c = "~/.basic/credentials";const defaultData = c;