| Field | Value |
|---|---|
| Name | signingGetJWT |
| Title | Get Self-Signed JWT |
| Description | Create a self-signed EdDSA JWT (did:key identity) using a stored signing key. Authenticated. |
Input Schema
{
"type": "object",
"required": ["publicKey",
"passphrase"],
"properties": {
"lifetime": {
"type": "integer",
"description": "Token lifetime in seconds. Default: 3600 (1 hour)"
},
"audience": {
"type": "string",
"description": "Optional audience claim (aud) for the JWT"
},
"passphrase": {
"type": "string",
"description": "Passphrase to decrypt the signing key"
},
"publicKey": {
"type": "string",
"description": "Hex-encoded Ed25519 public key identifying the signing key"
}
}
}Output Schema
{
"type": "object",
"properties": {
"jwt": {
"type": "string",
"description": "Encoded JWT string"
}
}
}