Verification
This topic provides steps to verify the following use cases supported by the integration:
-
Retrieving a secret from Secret Server by secret ID into Power Automate.
To find the ID of a secret in Secret Server, follow these steps:Open Secret Server and navigate to Secrets > All Secrets.
Use the search box at the top of the All Secrets page to look for the secret.
Select the desired secret from the search results.
In the browser's address bar, note the secret ID located in the URL of the secret details page (it will appear after
secrets
).
-
Establishing a remote desktop (RDP) connection to a remote computer with the credentials from a secret that is retrieved from Secret Server.
Verifying the Retrieval of a Secret by Secret ID
To verify that a secret is retrieved from Secret Server by secret ID:
-
In Power Automate, in the left navigation pane, select Solutions.
-
In the list of solutions, select the Delinea solution.
-
In the list of solution components, select the GetSecretById flow.
-
Select Edit.
-
In the upper-right corner of the flow details page, select Test.
-
In the Run flow window, in the Numbers box, enter the ID of the secret that you want to retrieve and select Run flow and then Done.
After the flow has successfully run, the message Your flow ran successfully appears at the top of the page.
The example below shows data in the JSON recovered from the Secret ID before running the flow. In the Body, view the JSON containing the usernamesecret, passwordsecret, and jsonsecret objects, which include all itemValues of the secret for the template used to create the secret.
{
"usernamesecret": "username",
"passwordsecret": "password",
"jsonsecret": "[{\"slur\" : \"machine\",\"itemValue\" : \"xx.xx.xxx.xxx\"},{\"slur\" : \"username\",\"itemValue\" : \"username\"},{\"slur\" : \"password\",\"itemValue\" : \"password\"},{\"slur\" : \"notes\",\"itemValue\" : \"\"}]"
}
Verifying an RDP Connection
To verify that an RDP connection is established to a remote computer with the credentials from a retrieved secret:
-
In Power Automate, in the left navigation pane, select Solutions.
-
In the list of solutions, select the Delinea solution.
-
In the list of solution components, select the RunRDP flow.
-
Select Edit.
-
In the upper-right corner of the flow details page, select Test.
-
In the Run flow window, in the SecretID box, enter the ID of the secret that you want to retrieve and select Run flow and then Done.
The flow runs to retrieve the specified secret from Secret Server, launch the Windows RDP client, and establish an RPD connection to the remote computer by providing the credentials from the retrieved secret. After the flow has successfully run, the message Your flow ran successfully appears at the top of the page.