OSX KeyChain toolkit
Apple osx command line security
wrapper
Install
npm install node-osx-keychain
Create
Create keychain and save to chain/hello.chain
const chain = await KeyChain;
Open keychain file chain/hello.chain
const chain = KeyChain
Keychain list
Get list of all keychains
const list = await KeyChain;// {'chainName': {path: 'path to file'}}
Import p12 into keychain
You can import p12 keys into keychain
await chain;
Get all items names
If you want to get list of all certs and keys in selected keychain file
const list = await chain;//['3rd Party Mac Developer Application: ***', '...']