Skip to main content

Hi, 

I’m using a python script which sends an Email via SMTP for a specific process. I wanted to pass the credential variables to my script, but it’s not allowed to pass a credential variable to a function. Is there a way to solve this issue?

So basically I want to fetch the username and password from Automation Anywhere Credentials and pass it to my python script.

Best Regards

Emil

Hi,

what is the status here?
I have a similar use case and would like to use credentials in my  python script


Hi Hakan, unfortunately there is no update. It is not possible to pass Credentials to a script, since it is only accepting String Variables. It is also not possible to convert a Credential Variable to a String Variable. I did not find a workaround yet. If I find a solution, I’ll share it here! 


Hi embitious,

 

there is a Package in the Bot Store called Credential Manager Package which should do the job, converting the Credential to a local variable.
https://botstore.automationanywhere.com/bot/a2019-credential-manager-package

 


Thanks Hakan!

I will check it out :)


Reply