Skip to main content
Cadet | Tier 2
July 11, 2025
Solved

Passing Credential Variable to Python Script

  • July 11, 2025
  • 2 replies
  • 181 views

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.

    2 replies

    Aaron.Gleason
    Automation Anywhere Team
    Automation Anywhere Team
    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.

    Cadet | Tier 2
    July 11, 2025

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