Skip to content

End-user RDP workflow

Here is an example workflow for connecting to a windows box using rdp:

  1. Install Ark SDK:
    go install github.com/cyberark/ark-sdk-golang
    
    Make sure that the PATH environment variable points to the go binary path, for example
    export PATH=$PATH:$(go env GOPATH)/bin
    
  2. Create a profile:
    • Interactively:
      ark configure
      
    • Silently:
      ark configure --silent --work-with-isp --isp-username myuser
      
  3. Log in to Ark:
    ark login --silent --isp-secret <my-ark-secret>
    
  4. Get a short-lived SSO RDP file for a windows box from the SIA service:
    ark exec dpa sso short-lived-rdp-file -ta targetaddress -td targetdomain -tu targetuser
    
  5. Use the RDP file with mstsc or any other RDP client to connect