Use the GetTOTP component
Generate the Time-based One-time Password (TOTP) to access multi-factor authentication (MFA)-enabled applications in an automation by using the GetTOTP component in the RPA Desktop Design Studio application.
Before you begin
- Create an MFA authenticator record and map the TOTP authenticator to the robot credential. For more information on how to perform these tasks on RPA Hub, see Create an MFA authenticator in RPA Hub and Create a TOTP authenticator in RPA Hub. For more information on TOTP authentication in RPA Hub, see TOTP authentication in RPA Hub.
- Connect to the required instance in RPA Desktop Design Studio and assign the bot process with the TOTP record to the automation. For more information, see Assign bot process to an automation project.
Role required: sn_rpa_fdn.rpa_release_manager or sn_rpa_fdn.rpa_admin
About this task
The TOTP record is created in RPA Hub and the record is associated to the robot credential. The GetTOTP component in RPA Desktop Design Studio has an AuthenticatorName parameter. The authenticator name that you provide from the component must be present in the TOTP record. If the authenticator is present, the TOTP is generated.
Procedure
Navigate to Utilities > Token from the Toolbox pane in the Design tab.
Drag the GetTOTP component to the Design surface.
In the AuthenticatorName field of the component, enter the name of the authenticator.
The name that you enter must match with the value in the Authenticator field of the TOTP record.
To test the component, right-click the component and select Run From Here.
You can also run the automation by selecting Run from the Design tab.
When the component is successfully run, the output ports are populated in the connector as per the following table.
Port name Port type Port description TOTP Data Out One-time password that is generated at that point of execution. ValidFor Data Out Time in seconds until the password is valid. To test the component, right-click the component and select Run From Here.
You can also run the automation by selecting Run from the Design tab.
Parent Topic:Token