I have a password protected file and I would like to have the password set up as an asset so that if it were to ever change, I don’t need to make a hard coded change within the bot itself.
I have a credential asset set up with a dummy username and the SS password.
I then pull the credential in and save it accordingly.
The issue I am having is that the ‘Use Excel File’ activity has a ‘Password’ variable option but it is a ‘String’ Variable type and not a ‘SecureString’
Is there a way around this or do I need to just hardcode the variable in as it can’t be converted?
Convert the Secure String Password to String Type Like below Using Assign Activity
You will get String Variable (OutputStringPassword)
Now You can pass this string Variable in the Password Section
Secured_passwrod_variable is a variable which is obtained from Asset
It might be my lack of knowledge in this are but I am receiving the following error:
Remove the . between new and system
It is New System.Net.NetworkCredential etc etc…
New is a separate keyword.
Sorry It was a Mistake from my side
Please Remove . Between New And System
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.