Create auto-login credentials

Use the Create auto login credential values API to save a new instance of login credential values to the Credential Vault for the specified Automation Anywhere user and their device.


You must have the AAE_Admin role.
JSON Web Token (JWT)
All Control Room APIs require a JSON Web Token (JWT) to access the APIs. Generate an authentication token using the Enterprise 11 Authentication API.
  • Use the Swagger definition files installed with your Control Room to test the APIs. View the available Swagger APIs at http://<your_control_room_url>/swagger/.
  • You can also use a REST client to complete this task.


  1. Add an authentication token to the request header.
    Note: Use the Enterprise 11 Authentication API to generate a JSON Web Token.
  2. Specify the method and URL.
    • Method: POST
    • URL: http://<your_control_room_url>/v1/credentialvault/external/credentials/loginsetting
  3. Provide the login details in the request body.
      "Username": "<Automation_Anywhere_username>",
      "Windows_Username": "<Windows_username>",
      "Windows_Password": "<Windows_password>"
  4. Send the request.
    • In a REST client, click SEND.
    • In the Swagger interface, click Execute.

    Success Response:

    201 Successful creation of credential.
Note: You can also run REST requests from a command terminal. The following is a curl request example, formatted for readability.
curl -X POST "<your_control_room_url>/v1/credentialvault/external/credentials/loginsetting" -H "accept: application/json"
                -H "X-Authorization: <authentication_token>" -H "Content-Type: application/json"
                -d "{                
                \"Username\": \"string\", 
                \"Windows_Username\": \"string\", 
                \"Windows_Password\": \"string\"