Skip to content

Commit 95bf10a

Browse files
committed
adding how to use secondary key
1 parent 4a53a47 commit 95bf10a

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

articles/connectors/connectors-native-webhook.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services: logic-apps
55
ms.suite: integration
66
ms.reviewer: estfan, azla
77
ms.topic: how-to
8-
ms.date: 02/09/2024
8+
ms.date: 05/07/2025
99
---
1010

1111
# Subscribe and wait for events to run workflows using HTTP webhooks in Azure Logic Apps
@@ -227,6 +227,27 @@ Here is more information about the outputs from an HTTP Webhook trigger or actio
227227
| 404 | Not Found |
228228
| 500 | Internal server error. Unknown error occurred. |
229229

230+
## Using the Secondary Access Key
231+
232+
A workflow has two *Access Keys*: Primary and Seconday. By default the HTTP webhook callback URL is generated with the Primary key. If you want it to be generated with the Secondary key, you can specify it in *accessKeyType* property in the code view.
233+
234+
```
235+
{
236+
"type": "HttpWebhook",
237+
"inputs": {
238+
"subscribe": {
239+
"method": "POST",
240+
"uri": "<subscription url>",
241+
"body": "@listCallbackUrl()"
242+
},
243+
"accessKeyType": "Secondary"
244+
},
245+
"runAfter": {}
246+
}
247+
248+
```
249+
250+
230251
## Next steps
231252

232253
* [Secure access and data - Access for inbound calls to request-based triggers](../logic-apps/logic-apps-securing-a-logic-app.md#secure-inbound-requests)

0 commit comments

Comments
 (0)