Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. Plugin development for beyond trust platform in .net.

Plugin development for beyond trust platform in .net.

Scheduled Pinned Locked Moved .NET (Core and Framework)
csharpquestion
3 Posts 3 Posters 55 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    ashish2024
    wrote on last edited by
    #1

    Anybody have worked on custom plugin development for beyond trust privileged access management platform in .net?

    D 1 Reply Last reply
    0
    • A ashish2024

      Anybody have worked on custom plugin development for beyond trust privileged access management platform in .net?

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      Any questions about a specific product like that would be better asked of Support for that product. The likelyhood of someone developing for such a product and seeing your post is beyond tiny.

      Asking questions is a skill CodeProject Forum Guidelines Google: C# How to debug code Seriously, go read these articles. Dave Kreskowiak

      1 Reply Last reply
      0
      • S Offline
        S Offline
        sneha2004sahani2004
        wrote last edited by
        #3

        You don’t build plugins directly for BeyondTrust, you just talk to it through the REST API. In .NET it’s as simple as an HttpClient call with the API key:
        var client = new HttpClient { BaseAddress = new Uri("https://your-url/api/public/v3/") };
        client.DefaultRequestHeaders.Add("Authorization", "PS-Auth key=API_KEY; runas=API_USER;");
        var res = await client.GetStringAsync("users");
        Console.WriteLine(res);
        Swap "users" with "accounts", "sessions", etc. depending on what you need.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups