Overview
The 'Utility - Create JWT' utility action for Power Automate enables the creation of JSON Web Token's (JWT) as per the configuration specified.
Credit Count
This is a Utility action and therefore consumes only 0.05 credits per operation (except 1 credit on the free plan). For example, 100 operations will consume 5 credits on a trial and all paid plans.
Parameters
The default 'Utility - Create JWT' utility action parameters are detailed below:
- Claims: Set the 'Claims' to be added to the JWT
- Algorithm: Set the JWT security algorithm to use: HmacSha*, RsaSha*, Es*
- Key: Set the JWT key to be used within the selected algorithm (this needs to be base64 compliant)
Additional Guidance
- This action only requires a PEM formatted private key. The public key is not required during the creation process and is used to verify the JWT.
- The Claims parameter is expecting a JSON payload.
Advanced Parameters
The advanced 'Utility - Create JWT' utility action parameters are detailed below:
- Audience: The recipient for which the JWT is intended
- Before Time:The time before which the JWT must not be accepted for processing (Unix TimeStamp)
- Expiration Time: The time after which the JWT expires (Unix TimeStamp)
- Headers: Set additional 'HTTP Headers' as JSON key/value pairs
- Issued Time: The time at which the JWT was issued; can be used to determine age of the JWT (Unix TimeStamp)
- Issuer: The issuer of the JWT
- Subject: The subject of the JWT (the user)
- Unique Identifier:The unique identifier; can be used to prevent the JWT from being replayed (allows a token to be used only once)
Return Parameters
Action Specific Return Values
- Result - The JWT token
Standard Return Values
- OperationId - The unique ID assigned to this operation.
- HttpStatusCode - The HTTP Status code for the response.
- HttpStatusMessage - The HTTP Status message for the response.
- Errors - An array of error messages should an error occur.
- Operation Status - Indicates whether the operation has been completed, has been queued or has failed.
0 Comments