Skip to main content
Glama

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
NameRequiredDescriptionDefault
nameYes
publicKeyYes
privateKeyYes
fingerprintNo
commentNo
notesNo
favoriteNo
organizationIdNo
collectionIdsNo
folderIdNo

Implementation Reference

  • 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.' }],
        };
      },
    );

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/icoretech/warden-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server