Safeguard
Security Guides•

Why use one connection per automation? Limiting the blast radius

Sharing one connection across many automations means one leak exposes all and one revoke breaks all. Why to split connections, and how to do it.

Safeguard Security Team
3 min read

Use one connection per automation, or at least per purpose. When many flows share one saved credential, a single leak exposes all of them, a single revoke breaks all of them, and nobody can tell which flow did what. Separate connections make each problem small and traceable.

The shared connection trap

It starts reasonably. Someone connects the company's CRM to the automation tool, and every new flow reuses that connection because it is already there. A year later, twenty flows use it. The connection holds broad access, because the first flow needed broad access. Fifteen of the twenty only read one object.

Microsoft's documentation defines a connection as a saved credential stored in the environment that hosts the app or flow. That makes each connection a standing key, so the question becomes how many flows hold the same key.

What changes when you split

SituationOne shared connectionOne per automation
A credential leaksAll twenty flows exposedOne flow exposed
You revoke itAll twenty breakOne breaks
An audit asks who changed a recordEverything looks the sameThe connection name shows the flow
You want least privilegeMust grant the union of all needsGrant each flow its own minimum
An owner leavesUnclear which flows are affectedEach connection has one owner

How to split without a fire drill

  1. Export the list of flows and the connections they use.
  2. Group flows by what they actually do with the connection: read only, write one object, send messages.
  3. Create a new connection for each group, with the narrowest permissions, using a service account.
  4. Name each connection with the flow, the system and the owner.
  5. Move flows over one at a time, and test each.
  6. Remove the old shared connection when no flow uses it, and revoke the grant at the provider.
  7. Set a rule: new flows must create their own connection, and reuse requires owner approval.

Governance helpers

Low-code platforms offer data policies that group connectors and block some of them. Microsoft's documentation notes that when a policy blocks a connector, affected resources can be suspended and connections disabled, with enforcement usually in about an hour and up to 24 hours at most. Use those policies to stop the highest risk connectors, and rely on separate connections to limit the rest.

Trade-offs

More connections means more to track. The register is the answer: a row per connection with owner, scope and review date. If that feels heavy, start with the connections that reach the most sensitive data.

Quick check

Is it ever fine to share a connection?

Yes, for flows with the same purpose, owner and permission need. Share by purpose, not by convenience.

How do I find which flows use a connection?

Most platforms list a connection's dependent flows. If yours does not, search flow definitions by connector name and keep that result in the register.

Safeguard's asset discovery and policies can help you see how many systems share the same access. Try the free scan at gold.safeguard.sh/scan.

Sources

Last reviewed: 19 October 2026.

Never miss an update

Weekly insights on software supply chain security, delivered to your inbox.

Self-healing security runs on Safeguard.

Your first fix PR is minutes away.

No sales call required, even your agent can complete the purchase over MCP.