generate_key
Generate and store a new cryptographic key pair for a key ID, selecting from Ed25519 or ECDSA algorithms to enable local signing without external KMS.
Instructions
Generate and store a new key pair for the given key ID
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| algo | No | Key algorithm (default: ed25519) | ed25519 |
| keyId | Yes | Unique key identifier |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| publicKey | Yes | Generated public key (base64-encoded DER/SPKI) |