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: articles/azure-functions/functions-identity-based-connections-tutorial-2.md
+9-20Lines changed: 9 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,24 +1,19 @@
1
1
---
2
-
title: Use identity-based connections instead of secrets with triggers and bindings
3
-
titleSuffix: Azure Functions
4
-
description: Learn how to use identity-based connections instead of connection strings with a Service Bus queue trigger
2
+
title: Use identity-based connections with Azure Functions triggers and bindings
3
+
ms.service: azure-functions
4
+
description: Learn how to use identity-based connections instead of connection strings when connecting to a Service Bus queue using Azure Functions.
5
5
ms.topic: tutorial
6
6
ms.date: 10/20/2021
7
7
#Customer intent: As a function developer, I want to learn how to use managed identities so that I can avoid having to handle connection strings in my application settings.
8
8
---
9
9
10
10
# Tutorial: Use identity-based connections instead of secrets with triggers and bindings
11
11
12
-
This tutorial shows you how to configure Azure Functions to trigger off of Azure Service Bus queues using managed identities instead of secrets stored in the function app settings. The tutorial is a continuation of the [Create a function app without default storage secrets in its definition][previous tutorial] tutorial. To learn more about identity-based connections, see [Configure an identity-based connection.](functions-reference.md#configure-an-identity-based-connection).
12
+
This tutorial shows you how to configure Azure Functions to connect to Azure Service Bus queues using managed identities instead of secrets stored in the function app settings. The tutorial is a continuation of the [Create a function app without default storage secrets in its definition][previous tutorial] tutorial. To learn more about identity-based connections, see [Configure an identity-based connection.](functions-reference.md#configure-an-identity-based-connection).
13
13
14
14
While the procedures shown work generally for all languages, this tutorial currently supports C# class library functions on Windows specifically.
15
15
16
-
This tutorial has two parts:
17
-
18
-
1.[Create a function app without default storage secrets in its definition][previous tutorial]
19
-
2. Use identity-based connections instead of secrets with triggers and bindings (this article)
20
-
21
-
In Part 2, you'll learn how to:
16
+
In this tutorial, you'll learn how to:
22
17
23
18
> [!div class="checklist"]
24
19
>
@@ -30,13 +25,7 @@ In Part 2, you'll learn how to:
30
25
31
26
## Prerequisite
32
27
33
-
+ An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?ref=microsoft.com&utm_source=microsoft.com&utm_medium=docs&utm_campaign=visualstudio).
34
-
35
-
+ The [.NET Core 3.1 SDK](https://dotnet.microsoft.com/download)
36
-
37
-
+ The [Azure Functions Core Tools](functions-run-local.md#v2) version 3.x.
38
-
39
-
+ Have an existing function app with a system-assigned identity. For steps on how to do this follow part 1 of the tutorial: [Create a function app with identity-based connections][previous tutorial].
28
+
Complete the previous tutorial: [Create a function app with identity-based connections][previous tutorial].
40
29
41
30
## Create a service bus and queue
42
31
@@ -95,7 +84,7 @@ You've granted your function app access to the service bus namespace using manag
95
84
96
85
## Connect to Service Bus in your function app
97
86
98
-
1. In the portal, search for your pre-existing function app. If you completed the [previous tutorial], use that app. You can also browse to it in the **Function App** page.
87
+
1. In the portal, search for the function appyou created in the [previous tutorial], or browse to it in the **Function App** page.
99
88
100
89
1. In your function app, select **Configuration** under **Settings**.
101
90
@@ -206,7 +195,7 @@ In this tutorial, you created a function app with identity-based connections.
Copy file name to clipboardExpand all lines: articles/azure-functions/functions-identity-based-connections-tutorial.md
+6-10Lines changed: 6 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,7 @@
1
1
---
2
2
title: Create a function app without default storage secrets in its definition
3
3
titleSuffix: Azure Functions
4
+
ms.service: azure-functions
4
5
description: Learn how to remove Storage connection strings from your function app definition.
5
6
ms.topic: tutorial
6
7
ms.date: 10/20/2021
@@ -13,19 +14,16 @@ This tutorial shows you how to configure a function app using Azure Active Direc
13
14
14
15
While the procedures shown work generally for all languages, this tutorial currently supports C# class library functions on Windows specifically.
15
16
16
-
This tutorial has two parts:
17
-
18
-
1. Create a function app without default storage secrets in its definition (this article)
19
-
2.[Use identity-based connections instead of secrets with triggers and bindings]
20
-
21
-
In Part 1, you'll learn how to:
17
+
In this tutorial, you learn how to:
22
18
> [!div class="checklist"]
23
19
> * Create a function app in Azure using an ARM template
24
20
> * Enable both system-assigned and user-assigned managed identities on the function app
25
21
> * Create role assignments that give permissions to other resources
26
22
> * Move secrets that can't be replaced with identities into Azure Key Vault
27
23
> * Configure an app to connect to the default host storage using its managed identity
28
24
25
+
After you complete this tutorial, you should complete the follow-on tutorial that shows how to [use identity-based connections instead of secrets with triggers and bindings].
26
+
29
27
## Prerequisites
30
28
31
29
+ An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?ref=microsoft.com&utm_source=microsoft.com&utm_medium=docs&utm_campaign=visualstudio).
@@ -318,11 +316,9 @@ You've removed the storage connection string requirement for AzureWebJobsStorage
318
316
319
317
This tutorial showed how to create a function app without storing secrets in its configuration.
320
318
321
-
Advance to Part 2 to learn how to use identity-based connections from the triggers and bindings.
319
+
In the next tutorial, you'll learn how to use identity in trigger and binding connections.
322
320
323
321
> [!div class="nextstepaction"]
324
322
> [Use identity-based connections instead of secrets with triggers and bindings]
325
323
326
-
To learn more, see [Configure an identity-based connection](functions-reference.md#configure-an-identity-based-connection).
327
-
328
-
[Use identity-based connections instead of secrets with triggers and bindings]: ./functions-identity-based-connections-tutorial-2.md
324
+
[Use identity-based connections instead of secrets with triggers and bindings]: ./functions-identity-based-connections-tutorial-2.md
0 commit comments