You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: powerapps-docs/maker/data-platform/EnvironmentVariables.md
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -199,7 +199,7 @@ A simple scenario to demonstrate how to use a secret obtained from Azure Key Vau
199
199
1. Enter a name for the flow, select **Manually trigger a flow**, and then select **Create**.
200
200
1. Select **New step**, select the **Microsoft Dataverse** connector, and then on the **Actions** tab select **Perform an unbound action**.
201
201
1. Select the action named **RetrieveEnvironmentVariableSecretValue** from the dropdown list.
202
-
1. Provide the environment variable name added in the previous section, for this example *new_TestSecret* is used.
202
+
1. Provide the environment variable unique name (not the display name) added in the previous section, for this example *new_TestSecret* is used.
203
203
1. Select **...** > **Rename** to rename the action so that it can be more easily referred in subsequent actions. In the below screenshot, it has been renamed to **GetSecret**.
204
204
205
205
:::image type="content" source="media/env-var-secret4.png" alt-text="Instant flow configuration for testing an environment variable secret":::
@@ -208,8 +208,9 @@ A simple scenario to demonstrate how to use a secret obtained from Azure Key Vau
208
208
209
209
:::image type="content" source="media/env-var-secret5.png" alt-text="Enable secure outputs setting for the action":::
210
210
1. Select **New step**, search and select the **HTTP** connector.
211
-
1. Select the **Method** as **GET** and enter the URI of the web service. In this screenshot, the fictitious web service *httpbin.org* is used as an example.
212
-
1. Select the authentication as **Basic**, and enter the username. The password value is added as an expression `body('GetSecret')['EnvironmentVariableSecretValue']` to use the secret value retrieved from the previous action.
211
+
1. Select the **Method** as **GET** and enter the **URI** for the web service. In this screenshot, the fictitious web service *httpbin.org* is used as an example.
212
+
1. Select **Show advanced options**, select the **Authentication** as **Basic**, and then enter the **Username**.
213
+
1. Select the **Password** field, and then on the **Dynamic content** tab under the flow step name above (*GetSecret* in this example) select **RetrieveEnvironmentVariableSecretValueResponse EnvironmentVariableSecretValue**, which is then added as an expression `outputs('GetSecretTest')?['body/EnvironmentVariableSecretValue']` or `body('GetSecretTest')['EnvironmentVariableSecretValue']`.
213
214
214
215
:::image type="content" source="media/env-var-secret6.png" alt-text="Create a new step using the HTTP connector":::
0 commit comments