View this page in the latest version of Appian. Automating RPA Infrastructure Management Share Share via LinkedIn Reddit Email Copy Link Print On This Page Appian RPA provides REST API endpoints that let you manage credentials and Virtual Desktop Infrastructure (VDI) robots programmatically. Instead of manually updating configurations in the RPA Console, you can integrate these endpoints into scripts, scheduled jobs, or Appian processes to automate routine infrastructure tasks at scale. How the endpoints relate to the RPA Console The credential and VDI management endpoints are a programmatic alternative to the RPA Console UI. Both the endpoints and the console operate on the same underlying data — changes made through the API are reflected in the console, and vice versa. The endpoints are best suited for: Repetitive tasks that run on a schedule, such as weekly credential rotation. Large-scale operations across many robots that would be impractical to perform manually. Integration with external systems, such as password vaults or orchestration platforms. For one-off changes or initial setup, the RPA Console UI remains the most straightforward option. Note: Appian provides the API building blocks for credential and robot configuration management. Your team is responsible for managing VDI power states (starting and stopping virtual machines) using your virtualization platform's own tools. Credential rotation Credential rotation is the practice of periodically updating passwords to reduce the risk of compromised accounts. The RPA credential management endpoints let you automate this process so that your RPA credentials stay in sync with your identity management system without manual intervention. Scheduled rotation In a scheduled rotation workflow, a script or Appian process runs on a defined interval (for example, every 30 days) to: Call GET /rpa/rest/oo/credentials to list all credentials and retrieve their UUIDs. Generate or retrieve a new password from your password management system. Call PUT /rpa/rest/oo/credentials/{uuid}/password to update the matching credential in the RPA Console. Confirm the response returns "invocationResult": "OK". Event-driven rotation In an event-driven workflow, credential rotation is triggered by an external event, such as a security alert or a policy violation detected by your identity management system. The same API calls apply, but the trigger is an event rather than a schedule. Integration with enterprise identity management You can integrate the credential management endpoints with enterprise identity management tools by calling the Appian RPA API as a step in your existing password rotation pipeline. The API accepts standard HTTP requests. It works with any tool that can make REST calls, including PowerShell scripts and third-party orchestration platforms. See Automate credential rotation for a step-by-step guide and example scripts. VDI health monitoring and maintenance For organizations running large fleets of Virtual Desktop Infrastructure (VDI) robots, the VDI management endpoints enable automated health checks and maintenance workflows. Determine which robots can be shut down Call GET /rpa/rest/oo/robot/eligible to retrieve the current status of all eligible robots. Robots with a status of "Online" or "Standby" are available for work. If no work is queued, these robots can be safely shut down for maintenance or cost savings. Determine which robots can be started Call GET /rpa/rest/oo/robot/eligible and filter for robots with a status of "Offline". These robots have no agent and no autologin service running. Cross-reference with your VDI inventory to identify which machines to start. Automated robot provisioning When spinning up a new VDI machine, call GET /rpa/rest/oo/robot/{id}/configuration to retrieve the AppianRPA.properties file content programmatically, rather than copying it manually from the console. The response includes a propertiesContent field with the complete file content, ready to write to disk. Retrieving the configuration programmatically makes it possible to provision new robots as part of an automated deployment pipeline. Routine maintenance automation Combine the robot status data from GET /rpa/rest/oo/robot/eligible with your VDI platform's APIs to build automated maintenance windows: identify idle robots, shut down their VMs, perform maintenance, restart the VMs, and verify the robots come back online. See Automate VDI robot management for step-by-step workflows and example scripts. Architecture considerations Error handling and retry logic API calls can fail due to transient network issues or temporary resource contention. Build retry logic into your automation scripts with exponential backoff. For credential updates, always verify the update succeeded before proceeding to the next step in your workflow. Logging and audit trail Log every API call your automation makes, including the timestamp, endpoint, request parameters (excluding passwords), and response result. This creates an audit trail for security and compliance reviews. The RPA Console also records changes made through the API, providing a second source of truth. Integration patterns Appian processes: Use Appian's HTTP connected systems to call the credential and VDI management endpoints from within an Appian process model. External scripts: PowerShell scripts are well-suited for scheduled credential rotation and VDI provisioning tasks. See the code examples in the Credential management and VDI and robot management API reference pages. Orchestration platforms: The endpoints work with any orchestration tool that supports REST calls. Security best practices Store API keys in a secrets manager, not in scripts or source control. Use a dedicated service account with the minimum permissions needed to perform the required API operations. Rotate API keys on a regular schedule, just as you would rotate other credentials. Use HTTPS for all API calls. Never send credentials over unencrypted connections. Review audit logs regularly to detect unexpected API activity. When passing passwords in API requests, retrieve them from environment variables or a secrets manager at runtime rather than hardcoding them. See API security for infrastructure management for more detail on securing your API-based workflows. Feedback Was this page helpful? SHARE FEEDBACK Loading...