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-hardening process
electron-ipc-security-audit
1---
2name: keychain-credential-manager
3description: Manage credentials in OS keychains across Windows, macOS, and Linux
4allowed-tools: Read, Write, Edit, Bash, Glob, Grep
5tags: [security, credentials, keychain, cross-platform, secrets]
6metadata:
7 source: https://skillmd.com/skills/aibot88/keychain-credential-manager
8---
9
10# keychain-credential-manager
11
12Manage credentials securely in OS keychains (Windows Credential Manager, macOS Keychain, Linux libsecret) with a cross-platform API.
13
14## Capabilities
15
16- Store credentials securely
17- Retrieve credentials at runtime
18- Delete stored credentials
19- Support all three desktop platforms
20- Integrate with keytar/node-keytar
21- Generate credential access code
22
23## Input Schema
24
25```json
26{
27 "type": "object",
28 "properties": {
29 "projectPath": { "type": "string" },
30 "serviceName": { "type": "string" },
31 "framework": { "enum": ["electron", "native", "dotnet"] }
32 },
33 "required": ["projectPath", "serviceName"]
34}
35```
36
37## Cross-Platform API
38
39```javascript
40// Using keytar (Electron)
41const keytar = require('keytar');
42
43async function storeCredential(account, password) {
44 await keytar.setPassword('MyApp', account, password);
45}
46
47async function getCredential(account) {
48 return await keytar.getPassword('MyApp', account);
49}
50```
51
52## Related Skills
53
54- `security-hardening` process
55- `electron-ipc-security-audit`