### psrun2 GET AccessLevels API Examples Source: https://docs.beyondtrust.com/bips/docs/ps-run Shows how to retrieve access levels using the psrun2 command with different output formatting options. Includes examples for default output, CSV, and removing headers. ```bash psrun2 127.0.0.1 3ea6..acb5acc cli GET AccessLevels ``` ```bash psrun2 -quote -separator "," 127.0.0.1 3ea6..acb5acc cli GET AccessLevels ``` ```bash psrun2 -quote -separator "," -noheaders 127.0.0.1 3ea6..acb5acc cli GET AccessLevels ``` ```bash psrun2 127.0.0.1 3ea6..acb5acc cli GET AccessLevels > results.xls ``` ```bash psrun2 -quote -separator "," 127.0.0.1 3ea6..acb5acc cli GET AccessLevels > results.csv ``` -------------------------------- ### Sign In Example (C#) Source: https://docs.beyondtrust.com/bips/reference/get-api-public-v3-workgroups Example of how to create and reuse a persistent connection using the System.Net.Http.HttpClient class for signing in. ```APIDOC ## Sign In Example (C#) ### Description This example demonstrates how to create and reuse a persistent connection using the `System.Net.Http.HttpClient` class for signing in to the API. ### Request Example ```csharp HttpClient client = new HttpClient(); client.DefaultRequestHeaders.Add("Authorization", "PS-Auth key= c479a66f…c9484d; runas=doe-main\\johndoe;"); string json = Newtonsoft.Json.JsonConvert.SerializeObject(null); System.Net.Http.StringContent content = new StringContent(json); content.Headers.ContentType = new System.Net.Http.Headers.MediaTypeHeaderValue("application/json"); HttpResponseMessage signInResponse = client.PostAsync("/Auth/SignAppin", content).Result; // Subsequent calls can reuse the same client instance HttpResponseMessage getResponse = client.GetAsync("/ManagedAccounts").Result; ``` ### User Password Factor Enabled Header Example ```csharp HttpClient client = new HttpClient(); client.DefaultRequestHeaders.Add("Authorization", "PS-Auth key= c479a66f…c9484d; runas=doe-main\\jo"); ``` ``` -------------------------------- ### Sign In Example (C#) Source: https://docs.beyondtrust.com/bips/reference/get-api-public-v3-assets-id Example of how to sign in to the API using the System.Net.Http.HttpClient class in C#. ```APIDOC ## Sign In Example (C#) ### Request Example ```csharp HttpClient client = new HttpClient(); client.DefaultRequestHeaders.Add("Authorization", "PS-Auth key= c479a66f…c9484d; runas=doe-main\\johndoe;"); string json = Newtonsoft.Json.JsonConvert.SerializeObject(null); System.Net.Http.StringContent content = new StringContent(json); content.Headers.ContentType = new System.Net.Http.Headers.MediaTypeHeaderValue("application/json"); HttpResponseMessage signInResponse = client.PostAsync("/Auth/SignAppin", content).Result; ``` ### Subsequent Calls Example ```csharp HttpResponseMessage getResponse = client.GetAsync("/ManagedAccounts").Result; ``` ### User Password Factor Enabled Header Example ```csharp HttpClient client = new HttpClient(); client.DefaultRequestHeaders.Add("Authorization", "PS-Auth key= c479a66f…c9484d; runas=doe-main\\jo"); ``` ``` -------------------------------- ### Sign-in Example (C#) Source: https://docs.beyondtrust.com/bips/reference/get-api-public-v3-managedaccounts-managedaccountid-attributes Example of how to sign in to the API using C# and HttpClient, including setting authorization headers. ```APIDOC ## Sign-in Example (C#) ### Create and reuse a persistent connection ```csharp HttpClient client = new HttpClient(); client.DefaultRequestHeaders.Add("Authorization", "PS-Auth key= c479a66f…c9484d; runas=doe-main\\johndoe;"); string json = Newtonsoft.Json.JsonConvert.SerializeObject(null); System.Net.Http.StringContent content = new StringContent(json); content.Headers.ContentType = new System.Net.Http.Headers.MediaTypeHeaderValue("application/json"); HttpResponseMessage signInResponse = client.PostAsync("/Auth/SignAppin", content).Result; ``` ### Subsequent calls ```csharp HttpResponseMessage getResponse = client.GetAsync("/ManagedAccounts").Result; ``` ### User Password Factor Enabled (header example only) ```csharp HttpClient client = new HttpClient(); client.DefaultRequestHeaders.Add("Authorization", "PS-Auth key= c479a66f…c9484d; runas=doe-main\\jo ``` ``` -------------------------------- ### Install BeyondInsight DXL Message Broker MSI Source: https://docs.beyondtrust.com/bips/docs/bi-trellix-dxl-integration This command installs the BeyondInsight DXL Message Broker MSI installer with verbose logging enabled. It is useful for debugging installation failures, particularly those related to insufficient privileges for enabling the MSMQ Windows feature. ```batch msiexec /i BeyondInsightDXLMessageBroker.msi /l*v MyLogFile.txt ``` -------------------------------- ### Asset Model Response Examples (JSON) Source: https://docs.beyondtrust.com/bips/reference/get-api-public-v3-workgroups-workgroupid-assets Provides example JSON responses for asset searches, demonstrating both scenarios with and without paging. These examples are crucial for understanding the expected data structure. ```json { "AssetModel_Response_WithoutPaging": { "summary": "Response (without paging)", "value": [ { "WorkgroupID": 0, "AssetID": 0, "AssetName": null, "AssetType": null, "DnsName": null, "DomainName": null, "IPAddress": null, "OperatingSystem": null, "CreateDate": "0001-01-01T00:00:00.0000000+00:00", "LastUpdateDate": "0001-01-01T00:00:00.0000000+00:00", "Description": null } ] }, "AssetContainerModel_WithPaging": { "summary": "Response (with paging)", "value": { "TotalCount": 1, "Data": [ { "WorkgroupID": 0, "AssetID": 0, "AssetName": null, "AssetType": null, "DnsName": null, "DomainName": null, "IPAddress": null, "OperatingSystem": null, "CreateDate": "0001-01-01T00:00:00.0000000+00:00", "LastUpdateDate": "0001-01-01T00:00:00.0000000+00:00", "Description": null } ] } } } ``` -------------------------------- ### GET /ManagedAccounts Source: https://docs.beyondtrust.com/bips/reference/delete-api-public-v3-users-id Example of making a subsequent GET request after establishing a connection. ```APIDOC ## GET /ManagedAccounts ### Description This endpoint is used to retrieve managed accounts after a successful authentication. ### Method `GET` ### Endpoint `/ManagedAccounts` ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Request Example (C#) ```csharp // Assuming 'client' is an initialized HttpClient from a previous SignAppin call HttpResponseMessage getResponse = client.GetAsync("/ManagedAccounts").Result; ``` ### Response #### Success Response (200) - **(Details not provided in source text)** #### Response Example **(Details not provided in source text)** ``` -------------------------------- ### Sign In Example (C#) Source: https://docs.beyondtrust.com/bips/reference/delete-api-public-v3-managedsystems-managedsystemid-linkedaccounts Example C# code demonstrating how to create a persistent connection and authenticate using the `System.Net.Http.HttpClient` class. ```APIDOC ## Sign In Example (C#) This example demonstrates creating and reusing a persistent connection using `System.Net.Http.HttpClient` for API authentication. ### Initial Sign In Request ```csharp HttpClient client = new HttpClient(); client.DefaultRequestHeaders.Add("Authorization", "PS-Auth key= c479a66f…c9484d; runas=doe-main\\johndoe;"); string json = Newtonsoft.Json.JsonConvert.SerializeObject(null); System.Net.Http.StringContent content = new StringContent(json); content.Headers.ContentType = new System.Net.Http.Headers.MediaTypeHeaderValue("application/json"); HttpResponseMessage signInResponse = client.PostAsync("/Auth/SignAppin", content).Result; ``` ### Subsequent API Calls ```csharp HttpResponseMessage getResponse = client.GetAsync("/ManagedAccounts").Result; ``` ### User Password Factor Enabled (Header Example) ```csharp HttpClient client = new HttpClient(); client.DefaultRequestHeaders.Add("Authorization", "PS-Auth key= c479a66f…c9484d; runas=doe-main\\jo"); ``` ``` -------------------------------- ### GET /websites/beyondtrust_bips Source: https://docs.beyondtrust.com/bips/docs/getting-started This endpoint is a placeholder and does not represent a functional API endpoint based on the provided documentation. The example shows a cURL GET request to a base URL. ```APIDOC ## GET /websites/beyondtrust_bips ### Description This section appears to be a placeholder or an incomplete example from the source text. The provided cURL request demonstrates a basic GET request to a base URL, but it does not correspond to a specific documented API endpoint within the BeyondTrust Password Safe API context. ### Method GET ### Endpoint `https://example.com/` (This is an example URL and not a specific endpoint from the documentation) ### Parameters None documented for this specific example. ### Request Example ```bash curl --request GET \ --url https://example.com/ ``` ### Response No specific success response is detailed for this example. The text indicates responses are shown after clicking 'Try It!'. ``` -------------------------------- ### Sign In Example (C#) Source: https://docs.beyondtrust.com/bips/reference/delete-api-public-v3-managedsystems-managedsystemid-managedaccounts Example C# code demonstrating how to create a persistent connection and authenticate using the Authorization header. ```APIDOC ## Sign In Example (C#) ### Description This example demonstrates how to create and reuse a persistent connection using the System.Net.Http.HttpClient class for API authentication. ### Request Example ```csharp HttpClient client = new HttpClient(); client.DefaultRequestHeaders.Add("Authorization", "PS-Auth key= c479a66f…c9484d; runas=doe-main\\johndoe;"); string json = Newtonsoft.Json.JsonConvert.SerializeObject(null); System.Net.Http.StringContent content = new StringContent(json); content.Headers.ContentType = new System.Net.Http.Headers.MediaTypeHeaderValue("application/json"); HttpResponseMessage signInResponse = client.PostAsync("/Auth/SignAppin", content).Result; ``` ### Subsequent Calls Example ```csharp HttpResponseMessage getResponse = client.GetAsync("/ManagedAccounts").Result; ``` ### User Password Factor Enabled Example ```csharp HttpClient client = new HttpClient(); client.DefaultRequestHeaders.Add("Authorization", "PS-Auth key= c479a66f…c9484d; runas=doe-main\\jo"); ``` ``` -------------------------------- ### Get Secret by ID or Title Source: https://docs.beyondtrust.com/bips/docs/ps-cli-application Retrieves a specific secret by providing either its unique GUID or its full title. ```bash ps-cli secrets get -id ``` ```bash ps-cli secrets get -t ``` -------------------------------- ### Sign In Example (C#) Source: https://docs.beyondtrust.com/bips/reference/delete-api-public-v3-addressgroups-addressgroupid-addresses Provides a C# code example demonstrating how to sign in and make subsequent API calls using `System.Net.Http.HttpClient`. ```APIDOC ## Sign In Example (C#) This example demonstrates creating and reusing a persistent connection using `System.Net.Http.HttpClient` for API authentication and calls. ### Sign In Request ```csharp HttpClient client = new HttpClient(); client.DefaultRequestHeaders.Add("Authorization", "PS-Auth key= c479a66f…c9484d; runas=doe-main\\johndoe;"); string json = Newtonsoft.Json.JsonConvert.SerializeObject(null); System.Net.Http.StringContent content = new StringContent(json); content.Headers.ContentType = new System.Net.Http.Headers.MediaTypeHeaderValue("application/json"); HttpResponseMessage signInResponse = client.PostAsync("/Auth/SignAppin", content).Result; ``` ### Subsequent Calls ```csharp HttpResponseMessage getResponse = client.GetAsync("/ManagedAccounts").Result; ``` ### User Password Factor Enabled (Header Example) ```csharp HttpClient client = new HttpClient(); client.DefaultRequestHeaders.Add("Authorization", "PS-Auth key= c479a66f…c9484d; runas=doe-main\\jo"); ``` ``` -------------------------------- ### Sign In Example (C#) Source: https://docs.beyondtrust.com/bips/reference/get-api-public-v3-secrets-safe-safes-id-safe-permissions Provides a C# code example demonstrating how to create and reuse a persistent connection using `System.Net.Http.HttpClient` for signing into the API. ```APIDOC ## Sign In Example (C#) ### Description This C# code snippet demonstrates how to establish and reuse a persistent connection using `System.Net.Http.HttpClient` for API authentication. ### Code Example ```csharp HttpClient client = new HttpClient(); client.DefaultRequestHeaders.Add("Authorization", "PS-Auth key= c479a66f…c9484d; runas=doe-main\\johndoe;"); string json = Newtonsoft.Json.JsonConvert.SerializeObject(null); System.Net.Http.StringContent content = new StringContent(json); content.Headers.ContentType = new System.Net.Http.Headers.MediaTypeHeaderValue("application/json"); HttpResponseMessage signInResponse = client.PostAsync("/Auth/SignAppin", content).Result; // Subsequent calls using the same client instance HttpResponseMessage getResponse = client.GetAsync("/ManagedAccounts").Result; ``` ### User Password Factor Enabled Header Example ```csharp HttpClient client = new HttpClient(); client.DefaultRequestHeaders.Add("Authorization", "PS-Auth key= c479a66f…c9484d; runas=doe-main\\jo"); ``` ``` -------------------------------- ### Get Folder by ID or Name Source: https://docs.beyondtrust.com/bips/docs/ps-cli-application Retrieves a specific Secrets Safe folder by providing either its unique GUID or its name. ```bash ps-cli folders get [-id ] [-n ] ``` -------------------------------- ### Install Endpoint Privilege Management Agent with OAuth Source: https://docs.beyondtrust.com/bips/docs/bi-cloud-configure-authentication This command installs the Endpoint Privilege Management agent using an activation ID and key for OAuth authentication. It specifies the MSI package, quiet installation, and BeyondInsight URL. The activation ID and key are used for the initial setup and are not required for future upgrades. ```powershell msiexec.exe /I PriviliegeManagementForWindows.msi /qn /norestart BI_MODE=1 BEYONDINSIGHTURL="test" ActivationId="test" ActivationKey="test" ``` -------------------------------- ### Sign In Example (C#) Source: https://docs.beyondtrust.com/bips/reference/delete-api-public-v3-quickrules-quickruleid-managedaccounts-accountid Example C# code demonstrating how to create a persistent HTTP client connection and authenticate using the PS-Auth header. ```APIDOC ## Sign In Example (C#) ### Description Create and reuse a persistent connection using the System.Net.Http.HttpClient class. ### Request Example ```csharp HttpClient client = new HttpClient(); client.DefaultRequestHeaders.Add("Authorization", "PS-Auth key= c479a66f…c9484d; runas=doe-main\\johndoe;"); string json = Newtonsoft.Json.JsonConvert.SerializeObject(null); System.Net.Http.StringContent content = new StringContent(json); content.Headers.ContentType = new System.Net.Http.Headers.MediaTypeHeaderValue("application/json"); HttpResponseMessage signInResponse = client.PostAsync("/Auth/SignAppin", content).Result; ``` ### Subsequent Calls Example ```csharp HttpResponseMessage getResponse = client.GetAsync("/ManagedAccounts").Result; ``` ### User Password Factor Enabled Example ```csharp HttpClient client = new HttpClient(); client.DefaultRequestHeaders.Add("Authorization", "PS-Auth key= c479a66f…c9484d; runas=doe-main\\jo"); ``` ``` -------------------------------- ### cURL GET Request Example Source: https://docs.beyondtrust.com/bips/docs/getting-started This snippet demonstrates a basic GET request to the BeyondTrust Password Safe API using cURL. It shows how to specify the request method and the target URL. Ensure you replace 'https://example.com/' with your actual API endpoint. ```bash curl --request GET \ --url https://example.com/ ``` -------------------------------- ### Sign-in Example (C#) Source: https://docs.beyondtrust.com/bips/reference/post-api-public-v3-secrets-safe-safes Provides a C# code example demonstrating how to create and reuse a persistent connection using `System.Net.Http.HttpClient` for API authentication and subsequent calls. ```APIDOC ## Sign-in Example (C#) ### Description This example demonstrates how to establish an authenticated connection using the `HttpClient` class in C# and make subsequent API calls. ### Code Example ```csharp HttpClient client = new HttpClient(); client.DefaultRequestHeaders.Add("Authorization", "PS-Auth key= c479a66f…c9484d; runas=doe-main\\johndoe;"); string json = Newtonsoft.Json.JsonConvert.SerializeObject(null); System.Net.Http.StringContent content = new StringContent(json); content.Headers.ContentType = new System.Net.Http.Headers.MediaTypeHeaderValue("application/json"); HttpResponseMessage signInResponse = client.PostAsync("/Auth/SignAppin", content).Result; // Subsequent calls HttpResponseMessage getResponse = client.GetAsync("/ManagedAccounts").Result; ``` ### User Password Factor Enabled Header Example ```csharp HttpClient client = new HttpClient(); client.DefaultRequestHeaders.Add("Authorization", "PS-Auth key= c479a66f…c9484d; runas=doe-main\\jo"); ``` ``` -------------------------------- ### C# API Authentication and Request Examples Source: https://docs.beyondtrust.com/bips/reference/delete-api-public-v3-managedsystems-managedsystemid-attributes-attributeid Demonstrates how to create and reuse a persistent connection using System.Net.Http.HttpClient in C# for BeyondTrust API interactions. Includes examples for setting authorization headers, making POST requests for sign-in, and subsequent GET requests. ```csharp HttpClient client = new HttpClient(); client.DefaultRequestHeaders.Add("Authorization", "PS-Auth key= c479a66f…c9484d; runas=doe-main\\johndoe;"); string json = Newtonsoft.Json.JsonConvert.SerializeObject(null); System.Net.Http.StringContent content = new StringContent(json); content.Headers.ContentType = new System.Net.Http.Headers.MediaTypeHeaderValue("application/json"); HttpResponseMessage signInResponse = client.PostAsync("/Auth/SignAppin", content).Result; HttpResponseMessage getResponse = client.GetAsync("/ManagedAccounts").Result; HttpClient client = new HttpClient(); client.DefaultRequestHeaders.Add("Authorization", "PS-Auth key= c479a66f…c9484d; runas=doe-main\\jo ``` -------------------------------- ### Get Safe Permissions Source: https://docs.beyondtrust.com/bips/reference/get-api-public-v3-secrets-safe-safes-id-safe-permissions Retrieves the permissions assigned to a specific safe identified by its unique GUID. Requires 'Secrets Safe (Read)' permission. Returns an array of SafePermissionModel objects or an error message. ```json { "type": "array", "items": { "$ref": "#/components/schemas/SafePermissionModel" } } ``` -------------------------------- ### Sign In Example (C#) Source: https://docs.beyondtrust.com/bips/reference/put-api-public-v3-requests-id-checkin Example C# code demonstrating how to create and reuse a persistent connection using HttpClient for API sign-in. ```APIDOC ## Sign In Example (C#) ### Description This example demonstrates how to create and reuse a persistent connection using the `System.Net.Http.HttpClient` class for API sign-in. ### Code Snippet ```csharp HttpClient client = new HttpClient(); client.DefaultRequestHeaders.Add("Authorization", "PS-Auth key= c479a66f…c9484d; runas=doe-main\\johndoe;"); string json = Newtonsoft.Json.JsonConvert.SerializeObject(null); System.Net.Http.StringContent content = new StringContent(json); content.Headers.ContentType = new System.Net.Http.Headers.MediaTypeHeaderValue("application/json"); HttpResponseMessage signInResponse = client.PostAsync("/Auth/SignAppin", content).Result; // Subsequent calls using the same client instance: HttpResponseMessage getResponse = client.GetAsync("/ManagedAccounts").Result; // Example for User Password Factor Enabled (header only): // HttpClient client = new HttpClient(); // client.DefaultRequestHeaders.Add("Authorization", // "PS-Auth key= c479a66f…c9484d; runas=doe-main\\jo"); ``` ``` -------------------------------- ### Get Safe by ID Source: https://docs.beyondtrust.com/bips/reference/get-api-public-v3-secrets-safe-safes-id Retrieves a specific safe using its unique GUID identifier. Requires 'Secrets Safe (Read)' permission. Returns safe information or an error if the safe is not found or permissions are insufficient. ```http GET /api/public/v3/secrets-safe/safes/{id} ``` -------------------------------- ### Initiate Deployment Wizard (POST Request) Source: https://docs.beyondtrust.com/bips/docs/u-series-api This POST endpoint, `/ApplianceGateway/api/DeploymentWizardAutomation`, starts the deployment wizard for the BeyondInsight appliance. It requires a JSON payload containing various configuration details and a valid BeyondInsight license key in the HTTP header. ```http POST /ApplianceGateway/api/DeploymentWizardAutomation ``` -------------------------------- ### C# HttpClient for API Authentication and Calls Source: https://docs.beyondtrust.com/bips/reference/delete-api-public-v3-secrets-safe-secrets-secretid Demonstrates how to create and reuse a persistent connection using System.Net.Http.HttpClient in C# for BeyondTrust API authentication and subsequent calls. Includes examples for initial sign-in and making GET requests. ```csharp HttpClient client = new HttpClient(); client.DefaultRequestHeaders.Add("Authorization", "PS-Auth key= c479a66f…c9484d; runas=doe-main\\johndoe;"); string json = Newtonsoft.Json.JsonConvert.SerializeObject(null); System.Net.Http.StringContent content = new StringContent(json); content.Headers.ContentType = new System.Net.Http.Headers.MediaTypeHeaderValue("application/json"); HttpResponseMessage signInResponse = client.PostAsync("/Auth/SignAppin", content).Result; HttpResponseMessage getResponse = client.GetAsync("/ManagedAccounts").Result; ``` -------------------------------- ### OAuth Client Credential Flow Source: https://docs.beyondtrust.com/bips/reference/get-api-public-v3-attributetypes-id This section details the OAuth client credential flow for API authentication. It explains the prerequisites, impersonation differences, setup steps, and provides a C# example for signing in and making subsequent calls. ```APIDOC ## OAuth Client Credential Flow ### Description This method uses the OAuth client credential flow, suitable for clients needing to obtain an access token outside of a user context. It requires users of type **Application** associated with an **API Access Policy** registration in BeyondInsight. Impersonation for this flow differs from API keys; use the `RunAs` header instead of the `Authorization` header. Impersonation is restricted to users within the same group as the application user. ### Setup Steps 1. Create an API Registration with the API Access Policy type. 2. Create an application user. 3. Assign your access policy to the user. 4. Record the client ID and secret. 5. Assign the user to a group with necessary permissions. ### Request Example (C#) ```csharp HttpClient client = new HttpClient(); client.DefaultRequestHeaders.Add("Authorization", "PS-Auth key= c479a66f…c9484d; runas=doe-main\\johndoe;"); string json = Newtonsoft.Json.JsonConvert.SerializeObject(null); System.Net.Http.StringContent content = new StringContent(json); content.Headers.ContentType = new System.Net.Http.Headers.MediaTypeHeaderValue("application/json"); HttpResponseMessage signInResponse = client.PostAsync("/Auth/SignAppin", content).Result; ``` ### Subsequent Calls Example (C#) ```csharp HttpResponseMessage getResponse = client.GetAsync("/ManagedAccounts").Result; ``` ### User Password Factor Enabled (Header Example) ```csharp HttpClient client = new HttpClient(); client.DefaultRequestHeaders.Add("Authorization", "PS-Auth key= c479a66f…c9484d; runas=doe-main\\jo ``` ``` -------------------------------- ### Sign-in and Subsequent Calls Example (C#) Source: https://docs.beyondtrust.com/bips/reference/get-api-public-v3-propagationactions Provides a C# code example demonstrating how to create a persistent HTTP client connection, authenticate using PS-Auth, and make subsequent API calls. ```APIDOC ## Sign-in and Subsequent Calls Example (C#) ### Description This example demonstrates how to create and reuse a persistent connection using the `System.Net.Http.HttpClient` class in C#. It includes an example of setting the `Authorization` header for sign-in and making a subsequent GET request. ### Code Example ```csharp HttpClient client = new HttpClient(); // Sign-in request client.DefaultRequestHeaders.Add("Authorization", "PS-Auth key= c479a66f…c9484d; runas=doe-main\\johndoe;"); string json = Newtonsoft.Json.JsonConvert.SerializeObject(null); System.Net.Http.StringContent content = new StringContent(json); content.Headers.ContentType = new System.Net.Http.Headers.MediaTypeHeaderValue("application/json"); HttpResponseMessage signInResponse = client.PostAsync("/Auth/SignAppin", content).Result; // Subsequent calls HttpResponseMessage getResponse = client.GetAsync("/ManagedAccounts").Result; // Example for User Password Factor Enabled (header only) // HttpClient client = new HttpClient(); // client.DefaultRequestHeaders.Add("Authorization", // "PS-Auth key= c479a66f…c9484d; runas=doe-main\\jo"); ``` ``` -------------------------------- ### Example Secret Path Configuration Source: https://docs.beyondtrust.com/bips/docs/ps-github Provides an example of how to format the 'secret_path' input for retrieving secrets. It demonstrates a list of objects, each containing a 'path' to the secret and an 'output_id' for referencing it. ```text [ { "path": "folder1/folder2/title", "output_id": "title" }, { "path": "folder1/folder2/title2", "output_id": "title2" } [ ```