generate_key
Creates and stores a new cryptographic key pair identified by a unique key ID. Supports algorithms like ed25519 and ECDSA variants.
Instructions
Generate and store a new key pair for the given key ID
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keyId | Yes | Unique key identifier | |
| algo | No | Key algorithm (default: ed25519) | ed25519 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| publicKey | Yes | Generated public key (base64-encoded DER/SPKI) |