OTPGeneratorValve
Note
Valve for generating one-time passwords.
Properties
Name | Description | Default value | Mandatory | Supports property expansion |
---|---|---|---|---|
name | Property where the one-time password will be stored. | Yes | No | |
length | The length of the one-time password. | 6 | No | No |
alpha_numeric | If alpha numeric OTP's should be created. | false | No | No |
valid_time_in_seconds | Number of seconds the OTP is valid. | 120 | No | No |
reuse_otp_if_age_below_seconds | If current OTP in the item's name attribute was generated within less seconds than this property, do nothing (reuse old otp) |
0 | No | No |
Example Configuration
{
"name": "OTPGeneratorValve",
"config": {
"name":"generated_otp",
"length":"4",
"valid_time_in_seconds":"60"
}
}
Requirements
Item set must have at least one entry.