RPA bot identities: permissions and secrets belong in the process architecture

A robot that executes repetitive work quickly can exploit an incorrectly designed permission boundary just as quickly. Its service account is therefore more than a workstation configuration detail. It forms part of the accountability model: whose authority an operation uses, who can initiate it and how the organisation can reconstruct what happened. For CIOs and CTOs, successful login is only the beginning. The important question is whether access can be narrowed, changed and revoked without losing control of the wider automation estate.

Move from an employee account to a process identity

In our proposed design, a bot has an identity assigned to a particular process and environment. It does not inherit the account of the person who developed it. Separate development, testing and production, and describe access as an explicit catalogue of permitted actions. An identity preparing an invoice should not automatically gain permission to amend supplier details or approve payment because those functions happen to appear in the same application.

Distinguish the operator requesting work, the bot's execution identity and the person approving the result. “Executed by robot” is insufficient when explaining an incorrect transaction. An event should connect the business case identifier, request origin, automation version and execution account without recording passwords or the complete document contents.

Design the secret lifecycle

An implementation pattern should deliver a secret from a controlled store to the executor when it is needed. The secret should not enter the repository, operator-visible job parameters or screenshots collected after failures. Screenshots need separate consideration: a login window, clipboard contents or an open document can expose information even when password storage itself is correctly designed.

Rotation requires an operating procedure. What happens to an existing authenticated session? Will resumed work obtain the new secret? Who resolves an account lockout after repeated failures? Test password changes while the process is running, not only with the environment stopped. For in-flight operations, establish whether they can finish safely or must move into reconciliation.

Permissions must withstand incorrect input

Consider an illustrative design in which a robot reads an order and updates its sales-system status. The input document also contains instructions to change bank details. Model-based detection of that instruction is not a sufficient boundary. The workflow should not expose a bank-change tool, and the execution account should not possess that permission. The restriction must remain effective when document classification fails.

Applications with coarse roles may need an additional intermediary: a narrow API, a dedicated application function or a human approval step. If the only available integration account is an administrator, treat that as an architecture risk requiring a narrower deployment scope. It is not simply a configuration task to mark complete.

Acceptance controls

SituationExpected responseEvidence
Access revokedNew work cannot perform the protected operationTests with existing and new sessions
Secret rotatedControlled resumption or a clear stopA task running during the change
Resource outside scopeRejection without a downstream effectState comparison before and after
Original operator unavailableAnother authorised person can take overAn access-recovery exercise

Pilot and operating ownership

Start with a small set of operations and test each under a minimally privileged role. Include an unauthorised resource, an expired session, a locked account and task resumption after interruption. Measure how quickly access problems are detected, how long recovery takes and how many cases require manual reconciliation. Successful login counts do not describe the safety of the business process.

Assign ownership explicitly. The business-system owner approves the permission scope; the platform team operates secret delivery; the process owner accepts the consequences of executed actions. Include account retirement in that model. An abandoned automation can retain credentials and permissions long after its business purpose has disappeared.

Review permissions when the process changes, not only during a periodic security exercise. Adding an apparently minor function can expand the bot's effective authority, especially when several automations share an identity. Separate identities may increase administration, but they make revocation and incident containment more precise.

Separate identities or a shared execution pool?

A shared pool can simplify scheduling and administration without erasing permission boundaries. Before assignment, verify the environment, process and permitted data scope. Do not assume the previous task logged out correctly. Desktop state, temporary files and clipboard contents may require isolation or cleanup between jobs. Compare identity-management effort with the cost of a broad shutdown: one shared account can turn a local lockout into a multi-process outage. Justify grouping through a common trust boundary, and state which services may legitimately stop together.

Build controlled automation with Geekforce

We help connect RPA, integrations and AI with an access model your organisation can operate. Together, we can identify useful automation opportunities, define the boundaries each bot must retain and test those boundaries before deployment in your business.

Sources and further reading

Don't just take our word for it — read what our clients say on independent platforms.