Robotic Process Automation (RPA)

 View Only
Expand all | Collapse all

Passing Secure String while automating using Surface Automation

  • 1.  Passing Secure String while automating using Surface Automation

    Posted Mon March 18, 2024 08:59 AM

    Hi, I am trying to automate a web app in which I am utilizing Surface automation, as the element identifiers are not visible. I need to login into the Web application using credentials from Vault, I am unable to pass the Password as the data type is SecureString, is there any way I can pass a SecureString in such a situation.

    Thanks in advance



    ------------------------------
    Tushar Pandey
    ------------------------------


  • 2.  RE: Passing Secure String while automating using Surface Automation

    IBM Champion
    Posted Wed March 27, 2024 11:30 AM

    Hi Tushar!

    You can coerce the SecureString into String again and then use the values in your automation for these commands. Take a look at this great example code from @NIGEL CROWTHER: https://community.ibm.com/community/user/automation/viewdocument/vault-password-to-string?CommunityKey=8e1faacf-120e-4d65-b013-c14cc0e27c04&tab=librarydocuments



    ------------------------------
    Vinicius Marques
    ------------------------------