Username /password

How can I type in the password and username without typing it . type secure text is not working for me

Hi @mma

Store your username and password in an asset. Use “Get Credentials” Activity and create the appropriate variables. And pass that variables in the further workflow.

Hope it helps!!

Regards,

Hi @mma

you can try to invoke a PowerShell script to securely input the text. The script can use the “Get-Credential” cmdlet to prompt the user for a username and password and return it as a secure string.

This is the script-

$credentials = Get-Credential
$username = $credentials.UserName
$password = $credentials.GetNetworkCredential().Password

Write-Output “$username”
Write-Output “$password”

Thanks!!

Hi @mma

Just check the variable type, if it secure text you should enable the secure text option in your type into, if not, then just pass the string variable as normal

Regards!

Hi @mma

If you want to give secure text then give as:
(New System.Net.NetworkCredential(“”,“give the password here”)).SecurePassword

Note: By using secure string the variable type must be “System.Security.SecureString”

I dont have orchestrator , I am trying to secure my credentials in a way any other user use it can enter there credentials using UiPath version 2020

Hi @mma
You can secure your credentials by using “Get Username/Password” activity.
image

Regards,

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.