keychain_create_ssh_key
Create and store SSH key pairs as secure notes in a Bitwarden vault for secure access management.
Instructions
Create an SSH key object (stored as secure note with fields).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| publicKey | Yes | ||
| privateKey | Yes | ||
| fingerprint | No | ||
| comment | No | ||
| notes | No | ||
| favorite | No | ||
| organizationId | No | ||
| collectionIds | No | ||
| folderId | No |
Implementation Reference
- src/tools/registerTools.ts:1436-1464 (handler)Tool registration and handler for 'keychain_create_ssh_key' (prefixed).
`${deps.toolPrefix}.create_ssh_key`, { title: 'Create SSH Key', description: 'Create an SSH key object (stored as secure note with fields).', inputSchema: { name: z.string(), publicKey: z.string(), privateKey: z.string(), fingerprint: z.string().optional(), comment: z.string().optional(), notes: z.string().optional(), favorite: z.boolean().optional(), organizationId: z.string().optional(), collectionIds: z.array(z.string()).optional(), folderId: z.string().optional(), }, _meta: toolMeta, }, async (input, extra) => { if (isReadOnly) return readonlyBlocked(); const sdk = await deps.getSdk(extra.authInfo); const created = await sdk.createSshKey(input); return { structuredContent: { item: created }, content: [{ type: 'text', text: 'Created.' }], }; }, );