OTP Generation
Configuration reference for the OTP Generation Pipes valve and its supported options.
Use this valve to generate a one-time password.
Configuration
Section titled “Configuration”| Name | Description | Default | Mandatory | Expanded |
|---|---|---|---|---|
otp_length | Length of the one-time password. | 6 | ||
alpha_numeric | Enables alpha numeric OTPs. | false | ||
valid_time | The valid time (in seconds) for the generated OTP. | 60 | ||
dest_parameter | Parameter containing the raw OTP "suite". Used for validation. | "generated_otp" | ||
otp_parameter | Simple OTP value (Only the actual OTP). Commonly used for sender valves. | "generated_otp_value" |
{ "name": "GenerateOtp", "enabled": true, "config": { "otp_length": 6, "alpha_numeric": false, "valid_time": 60, "dest_parameter": "generated_otp", "otp_parameter": "generated_otp_value" }}