Skip to main content

Sauce Connect Proxy Sharing Tunnel

Sauce Connect Proxy supports tunnel sharing within an organization, enabling multiple users or service accounts to access the same tunnel.

To enable sharing, start Sauce Connect Proxy with the --shared all flag.

Access Based on User Roles

The ability to use a Sauce Connect Proxy tunnel depends on the role of the user who starts the tunnel.

RoleCan Share Tunnels WithCan Use Tunnels Created ByCan Stop Tunnels Created By
Organization AdminAny userAny userAny user
Team AdminAll members of their teamOrganization admins, team members, themselvesThemselves and other team members
Team MemberAll members of their teamOrganization admins, team members, themselvesOnly themselves
Service Account❌ Cannot create or share tunnelsOrganization admins, team members❌ Cannot stop any tunnels

For details about user roles and permissions, see User Roles.

Using a Shared Tunnel

To use a shared tunnel in your test, set the tunnelOwner capability in your test configuration to the username of the tunnel owner.