ack_create_jwt
Create a signed JWT with arbitrary payload by providing a private JWK and signer DID. Enables challenge-response authentication, signed agent messages, or any custom signed payload.
Instructions
Create a signed JWT with an arbitrary payload. Use for challenge-response authentication, signed messages between agents, or any custom signed payload. The JWT is signed with the provided JWK and includes the signer's DID as the issuer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payload | Yes | JSON string of the JWT payload (claims). Standard claims like sub, aud, exp, nbf are supported. | |
| signerDid | Yes | DID of the signer, set as the JWT issuer (iss claim) | |
| signerJwk | Yes | JWK JSON string containing the signer's private key (from ack_generate_keypair or any valid private key JWK) |