{"_id":"@365admin/security","_rev":"2-09cd8b73102f15671564491e7f792394","name":"@365admin/security","description":"Module responsible for credentials management etc.","dist-tags":{"latest":"0.0.3"},"versions":{"0.0.2":{"name":"@365admin/security","version":"0.0.2","description":"Module responsible for credentials management etc.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":[],"author":{"name":"niels@hexatown.com"},"contributors":[{"name":"niels@hexatown.com"}],"license":"MIT","homepage":"https://github.com/365admin/365admin-security","repository":{"type":"git","url":"git+https://github.com/365admin/365admin-security.git"},"bugs":{"url":"https://github.com/365admin/365admin-security/issues"},"dependencies":{"adal-node":"^0.1.27","azure-arm-keyvault":"^1.1.0-preview","azure-keyvault":"^2.0.1-preview","lodash":"^4.17.4","user-home":"^2.0.0"},"gitHead":"f023f14c14c15d9556bde982f90b8fedcf53d9cd","_id":"@365admin/security@0.0.2","_npmVersion":"5.6.0","_nodeVersion":"8.9.3","_npmUser":{"name":"365admin","email":"niels@365admin.net"},"dist":{"integrity":"sha512-0Ilc2q1Xuv9vfTIWfKj+24BFAn2UhFnbj7vJjplC9BB4TYPf5ATOHn7QgYFVUmyEVTGphAEKQHzQzwe5O/pX8Q==","shasum":"0a1012dfcacffef3badaa273d3c93bc1830cbece","tarball":"https://registry.npmjs.org/@365admin/security/-/security-0.0.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDu0tLwfxiCUaQMNnP5wJbaJ2TscT7UZ3dMaVcxC66enwIgLEXjUe4k0yR5sJjevwcgy61qrPAOw2UNp46cVwI6C3g="}]},"maintainers":[{"name":"365admin","email":"niels@365admin.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/security-0.0.2.tgz_1517135244742_0.39017314766533673"}},"0.0.3":{"name":"@365admin/security","version":"0.0.3","description":"Module responsible for credentials management etc.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":[],"author":{"name":"niels@hexatown.com"},"contributors":[{"name":"niels@hexatown.com"}],"license":"MIT","homepage":"https://github.com/365admin/365admin-security","repository":{"type":"git","url":"git+https://github.com/365admin/365admin-security.git"},"bugs":{"url":"https://github.com/365admin/365admin-security/issues"},"dependencies":{"adal-node":"^0.1.27","azure-arm-keyvault":"^1.1.0-preview","azure-keyvault":"^2.0.1-preview","lodash":"^4.17.4","user-home":"^2.0.0"},"gitHead":"3480f58036d8d0f1e3f9a3982928b1e8eb1db8c1","_id":"@365admin/security@0.0.3","_npmVersion":"5.6.0","_nodeVersion":"8.9.3","_npmUser":{"name":"365admin","email":"niels@365admin.net"},"dist":{"integrity":"sha512-jW0b6thZ3kp6BopppPnpGaVfYdeIHz6sHcHhJp+YMN2cFayUv0lJ7H0ZTp1uc5YGP/b3zZEHsoHzpOV2HF87Qw==","shasum":"1c1b99ca3548bc4006a5e6648b02688e9a664bb8","tarball":"https://registry.npmjs.org/@365admin/security/-/security-0.0.3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB7q3eRKHHc7Uvb5YEyLCQaCA3BEIujRtOcqubz0WR+qAiAQIfzrlYBQK3Vke+aE4Is7vEwIWUxY0WHvc2itIAOPhg=="}]},"maintainers":[{"name":"365admin","email":"niels@365admin.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/security-0.0.3.tgz_1517135379880_0.8485799445770681"}}},"readme":"> Manage credentials \r\n\r\n\r\n## Install\r\n\r\n```\r\n$ npm install --save tadmin-security\r\n```\r\n\r\n\r\n## Usage\r\nStore the credentials in the user's home directory in a file named\r\n\r\n365ADMINSECRETS.JSON\r\n\r\n```js\r\n[{\r\n    \"key\": \"hexa00001\",\r\n    \"username\": \"********@hexa00001.onmicrosoft.com\",\r\n    \"password\": \"********\"\r\n}, {\r\n    \"key\": \"hexa00002\",\r\n    \"username\": \"********@hexa00002.onmicrosoft.com\",\r\n    \"password\": \"********\"\r\n}]\r\n```\r\n\r\n```js\r\nvar _365adminSecurity = require('@365admin/security');\r\nvar userpass = _365adminSecurity.credentials.getCredentials(\"hexa00001\",\"ps\")\r\n\r\nconsole.log(userpass.username)\r\n```\r\n\r\n\r\n## License\r\n\r\nMIT © [Niels Gregers Johansen](https://www.hexatown.com)\r\n","maintainers":[{"name":"365admin","email":"niels@365admin.net"}],"time":{"modified":"2022-04-04T10:43:46.034Z","created":"2018-01-28T10:27:25.641Z","0.0.2":"2018-01-28T10:27:25.641Z","0.0.3":"2018-01-28T10:29:40.272Z"},"homepage":"https://github.com/365admin/365admin-security","keywords":[],"repository":{"type":"git","url":"git+https://github.com/365admin/365admin-security.git"},"contributors":[{"name":"niels@hexatown.com"}],"author":{"name":"niels@hexatown.com"},"bugs":{"url":"https://github.com/365admin/365admin-security/issues"},"license":"MIT","readmeFilename":"README.md"}