Creates an authentication or workflow token.
Use
Issue a short-lived random reset, invitation, handoff, or correlation token whose signature and expiry can be verified later.
What the block does
Connect Cryptographic key to Credential output from the same workflow run. Only this block uses the key; the secret value is never shown in workflow output.
Inputs
keyAlias— Key alias:text; maximum 128; defaultworkflow-default.byteLength— Random bytes:number; minimum 16; maximum 64; default32.ttlSeconds— Lifetime (seconds):number; minimum 10; maximum 86400; default3600.subject— Subject:text; maximum 256; default empty.key— Cryptographic key:text; required; accepted output Credential; default none.
Outputs
value— Token:text; checked before the workflow continues.expiresAtEpochMs— Expires at:number; checked before the workflow continues.fire— Fire: istrueafter successful execution.
Settings
Connected input takes precedence over the corresponding saved setting.
| ID | Setting | Control | Default | Bounds/options |
|---|---|---|---|---|
keyAlias | Key alias | text | workflow-default | maximum 128 |
byteLength | Random bytes | number | 32 | minimum 16; maximum 64 |
ttlSeconds | Lifetime (seconds) | number | 3600 | minimum 10; maximum 86400 |
subject | Subject | text | empty | maximum 256 |
Error handling
- Invalid input stops before the operation and names the affected setting.
- Invalid keys, encodings, encrypted data, and tokens are clearly distinguished from missing connected output.
Exact settings reference
These are the saved settings and defaults. If a value is connected to the matching input, that connected value is used.
| ID | Setting | Control | Default | Bounds/options |
|---|---|---|---|---|
keyAlias | Key alias | text | workflow-default | — |
byteLength | Random bytes | number | 32 | — |
ttlSeconds | Lifetime (seconds) | number | 3600 | — |
subject | Subject | text | Empty text | — |
