Overview
The 'Utility - RSA Create Key Pair' utility action for Power Automate decrypts a plain text value (string) using the RSA decryption configuration set.
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 - RSA Create Key Pair' flow action parameters are detailed below:
- Key Size: Set the key size
- Key Format: Set the data format of the encrypted string
- Add Header and Footer: Set whether the header and footer should be added
Return Parameters
Action Specific Return Values
- Result - The RSA Key Pair as JSON
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.
Working with the RSA Key Pair
The 'RSA Key Pair' is returned within the 'Result' property as a JSON string containing both the public and private key:
Use the native Power Automate 'Parse JSON' action to parse this value allowing access to public and private keys as dynamic properties within Power Automate:
The 'Parse JSON' schema:
{
"type": "object",
"properties": {
"privateKey": {
"type": "string"
},
"publicKey": {
"type": "string"
}
}
}
You can then use the public and private keys as dynamic properties within Power Automate:
0 Comments