Configuring a secret template with TOTP
To configure a secret template with TOTP:
- Go to Secret Settings > Templates.
- In the secret template list, select Create.
The General tab in the New Secret Template window opens.
- In the General tab:
- In Name, enter a name for the secret template.
- Optionally, enter a description for the secret template.
- In Sever Information, select Unix-Like.
- In the Fields pane, select Create to add a new field.
The New Field window opens.
- In Field Name, enter
Username. - In the Type dropdown, select Username.
- In the Mandatory dropdown, ensure that it is enabled.
- Click OK.
- In Field Name, enter
- Use steps in 4 to create the following fields:
- Public-Key (disabled)
- Private-Key (disabled)
- Passphrase (disabled)
- URL (enabled)
- In the Launcher pane, select Create to add a new launcher.
The New Launcher Selection window opens.
- In Launcher Name dropdown, select PuTTY.
- In the Launcher Port, ensure that port 22 is selected.
- Click OK.
- Use steps in 6 to select Web SSH launcher.
- In the Password Changer pane:
- In Password Changer, select SSH Key (FortiProduct).
- Ensure that remaining settings in the Password Changer pane are on default.
- In the TOTP Setting pane:
- In Length, Duration, and Hash Algorithm, ensure that the default values are used.
Notes:
Length: Number of digits in the TOTP code.
Duration: Period of time for which the TOTP code is valid.
Hash Algorithm: HMAC algorithm used to generate the TOTP code.
- In Length, Duration, and Hash Algorithm, ensure that the default values are used.
- Click Submit.


Generally, you should avoid changing secret template TOTP settings, if a target server requires special TOTP setting, you can configure this from the TOTP Setting pane when creating or editing the secret.