Automation Identities
An identity is a service account that belongs to your organization. It holds its own key for each connector, and any number of automations can run as it. When you replace one of its keys, every…
Written By Christopher Scaminaci
Last updated 1 day ago
An identity is a service account that belongs to your organization. It holds its own key for each connector, and any number of automations can run as it. When you replace one of its keys, every automation that uses it uses the new key.
An automation that runs only as an identity uses that identity's keys and nothing else. It never uses a person's sign-in, and it never uses an organization connection that the identity was not given. A connector the identity holds no key for is refused.
Open Automations, then Identities.
Who can do what
Members cannot put their own keys on an automation. Ask an owner or administrator to add the key to an identity, and to allow you to use it.
An automation cannot change an identity, its own included.
Add an identity and its keys
- Under Identities, enter a name and select Add identity. Use a name that says what it is for, such as "Ticket triage".
- Open the identity.
- Under Add a key, choose the connector. For a connector with several connections, choose which one the key is for.
- Enter the key, or sign in as the service account, as the form asks. StackJack checks the key with the vendor and stores it encrypted. It is not shown again.
Use a service account at the vendor, with only the permissions the work needs. What that account may do at the vendor is what every automation on the identity may do.
To use a connection your organization already has, choose it under Use an organization connection and select Use it. No key is copied: the identity uses that connection as it is, and removing it from the identity leaves the connection alone. When that connection is one person's own sign-in, only an account owner can give it to an identity.
Some connectors have no key of their own here, because each is connected once for the whole organization on the Connectors page: Employment Hero, QuickBooks Online, Moovila Perfect Project, Jira Service Management and Reddit Ads. Give the identity the organization's connection instead. An account owner does that; for Moovila Perfect Project an administrator can too.
For Autotask and ConnectWise PSA, the identity page also has Who it is inside the vendor: the Autotask resource id or the ConnectWise member id its work is recorded under, one for each connection. A ConnectWise member id has an effect only while the experimental member ID option of that connection is on.
Set an automation to run as an identity
In the advanced builder, open Capabilities, then Run as. Choose the identity under As an identity, and save. The automation then runs only as it, and the person who was chosen is taken off in the same save.
You can also ask for it in the chat builder ("run it as Ticket triage") and from your own AI assistant.
To go back, choose a person or This tenant under Run as, and save.
- A member can only pick tools they have. When a member sets an automation to run as an identity, or adds tools to one that does, every tool must be one the member may use themselves. Ask an owner or administrator to add the others. An owner or administrator is not limited this way.
- A live automation follows the approval setting: a member's change waits for an owner or administrator.
- While the replacement of a key is not finished, nobody can approve a change for an automation that runs as the identity. An owner or administrator must save that key again or remove it. Then request the change again.
- A staging copy runs as the same identity as the automation it was copied from, when that automation runs only as one. A request to deploy such a copy must be made again when a key of the identity was added, replaced or removed since.
Automations that had their own keys
Automations that had their own keys before identities existed were moved for you. Each has an identity named after it (for example "Nightly triage identity") that holds the same keys. Nothing was entered again, and no automation changed what it can do.
Such an automation shows Runs as a person or the organization, with its identity: a connector the identity holds a key for uses that key, and the rest use the choice under Run as, as before. Select Run only as and the identity's name in the builder to use the identity alone. Check first that it holds a key for every connector the automation uses.
For the first hour after the release the page can say "StackJack is moving this region's automation credentials. Try again in an hour." Automations run as normal in that time.
Limit what an identity may call
Under Tool limit, choose Only the tools of these roles and pick one or more custom roles. Everything that runs as the identity may then call those tools at most. An automation keeps its own, narrower list.
Choose No tools to stop every connector call without removing a key. If the roles of a limit are deleted, the limit stays and allows no tools until you choose another.
Turn off, replace and delete
- Turn off stops every automation that runs as the identity: a run that is going is refused its connectors at the next call, and no new run starts. Its keys stay. Use it when a key may be exposed.
- Replace a key by adding the connector again. Every automation uses the new key at its next call.
- Revoke removes one key. The page says how many automations stop having that connector.
- Delete works only while no automation uses the identity; the page lists the ones that do. Its keys are removed with it. This cannot be undone. If a deletion was interrupted and an automation uses the identity by then, the identity is turned off instead and keeps its keys.
When a key stops working, StackJack turns that key off after repeated failed checks and sends one email to the owners and administrators. The email names the identity, the connector and the automations that use it. The key is never sent.
Every change is kept in History on the identity's page, with who made it.
Messages and what to do
Related pages
Was this helpful?
More in Build and run
What Are Automations?Automation AvailabilityThe Automations PageCreating an Automation with the Guided WizardStill need help? Ask the team