Skip to main content
Solved

Passing Credential Variable to Python Script


I want to add my credential variable to a Python script, but the script requires the data to be in string format. Updating these details in the config file and passing them on could lead to a data violation.

Note: The client will not accept the use of the Bot store.

 

Looking for your kind support here .

 

Thanks ,

Nirupama G P

Best answer by Aaron.Gleason

Only certain Automation Anywhere actions can use credential vault variables. Python Script is not one of them.

For a workaround, if they have their own database server, you could write the Python script to query the database and get the credentials from there, using a restricted account.

View original

2 replies

Aaron.Gleason
Automation Anywhere Team
Forum|alt.badge.img+6
  • Automation Anywhere Team
  • Answer
  • July 11, 2025

Only certain Automation Anywhere actions can use credential vault variables. Python Script is not one of them.

For a workaround, if they have their own database server, you could write the Python script to query the database and get the credentials from there, using a restricted account.


Thanks for the quick response  ​@Aaron.Gleason  , let me work around on this!