CreateJwt
Creates a JSON Web Token, JWT.
Configuration
Section titled “Configuration”| Name | Description | Default value | Mandatory | Expanded |
|---|---|---|---|---|
dest | Name of item property receiving the JWT. | "jwt" | ||
jwt_ttl | JWT time to live in minutes. | 5 | ||
jwt_claims | JWT payload claims. Configured as a json object. Values are expandable. | N/A | ||
jwt_headers | JWT header claims. Configured as a json object. Values are expandable. | {"alg":"RS256"} | ||
keystore | Keystore reference or json object containing keystore configuration. Used for JWT signing. | N/A | ||
keystore_alias | Keystore alias. | N/A | ||
keystore_password | Keystore password. | N/A |
{ "name": "CreateJwt", "config": { "jwt_ttl": 5, "jwt_headers": { }, "jwt_claims": { "personalNumber":"${item.personalNumber}", "name":"${item.name}", "ipAddress":"${item.ipAddress}" }, "keystore" : { "path" : "/fortified_test/keystore.p12", "password" : "secret", "type" : "PKCS12" }, "keystore_password" : "secret", "keystore_alias" : "jwt", }}