keychain-credential-manager
Manage credentials securely in OS keychains (Windows Credential Manager, macOS Keychain, Linux libsecret) with a cross-platform API.
Capabilities
- Store credentials securely
- Retrieve credentials at runtime
- Delete stored credentials
- Support all three desktop platforms
- Integrate with keytar/node-keytar
- Generate credential access code
Input Schema
{
"type": "object",
"properties": {
"projectPath": { "type": "string" },
"serviceName": { "type": "string" },
"framework": { "enum": ["electron", "native", "dotnet"] }
},
"required": ["projectPath", "serviceName"]
}
Cross-Platform API
// Using keytar (Electron)
const keytar = require('keytar');
async function storeCredential(account, password) {
await keytar.setPassword('MyApp', account, password);
}
async function getCredential(account) {
return await keytar.getPassword('MyApp', account);
}
Related Skills
security-hardeningprocesselectron-ipc-security-audit