Skip to main content
Rising Star
June 18, 2025
Question

Automate Login and Jump Tunnel

Hi everyone,

I'm looking into ways to automate some actions with BeyondTrust PRA. Specifically, I'm wondering if anyone has managed to:

  1. Automatically log in to the BeyondTrust console

  2. Launch a "Tunnel" type Jumpoint automatically, without manual intervention.

The goal would be to have a script or integration that, once authenticated, can open a tunnel through a pre-configured Jumpoint — useful for automations or third-party tool integrations.

Has anyone done something similar, or knows if this is possible using the BeyondTrust API or any other method?

2 replies

MassimoGAuthor
Rising Star
June 19, 2025

I was able to orchestrate the automatic launch of the client and “jump” to a tunnel item using the BT CLI with a Python script. However, I haven't managed to log in automatically using SAML yet. The --submit-login option seems to only work with local authentication. If anyone has any tips, I’d appreciate it.

BeyondTrust Employee
June 19, 2025

Hello ​@MassimoG - At this time, I think only Username/Password log in type is supported, as per the docs: https://docs.beyondtrust.com/pra/reference/client-scripting-api#login. Our Client Scripting API may be what you are after here.

Please let us know how you get on!