Skip to content

Commit 9bb3d06

Browse files
committed
images
1 parent aaa4e72 commit 9bb3d06

7 files changed

+47
-1
lines changed

docs/azure/sdk/authentication/local-development-service-principal.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ During local development, applications need to authenticate to Azure to access v
2121

2222
Using dedicated application service principals allows you to adhere to the principle of least privilege when accessing Azure resources. Permissions are limited to the specific requirements of the app during development, preventing accidental access to Azure resources intended for other apps or services. This approach also helps avoid issues when the app is moved to production by ensuring it isn't over-privileged in the development environment.
2323

24-
:::image type="content" source="../media/local-dev-service-principal-overview.png" alt-text="A diagram showing how a local .NET app uses the developer's credentials to connect to Azure by using locally installed development tools.":::
24+
:::image type="content" source="../media/mermaidjs/local-service-principal-authentication.svg" alt-text="A diagram showing how a local .NET app uses the developer's credentials to connect to Azure by using locally installed development tools.":::
2525

2626
When the app is registered in Azure, an application service principal is created. For local development:
2727

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
ms.topic: include
3+
ms.date: 08/07/2024
4+
---
5+
6+
```mermaid
7+
flowchart LR
8+
APP["Local .NET app"]
9+
BK["Developer account credentials supplied by broker"]
10+
AS["Azure services <br/><br/> Azure AI Services, Azure Blob Storage, Azure Key Vault, other Azure services"]
11+
12+
APP --> BK
13+
BK --> AS
14+
15+
classDef app fill:#e6f3ff,stroke:#0078d4,stroke-width:2px,color:#000,font-size:16px
16+
classDef serviceP fill:#D4F4D4,stroke:#7BC97B,stroke-width:2px,color:#000,font-size:16px
17+
classDef services fill:#0078d4,stroke:#005ba1,stroke-width:2px,color:#fff,font-size:16px
18+
19+
class APP app
20+
class SP serviceP
21+
class AS services
22+
```
Lines changed: 1 addition & 0 deletions
Loading
File renamed without changes.
File renamed without changes.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
ms.topic: include
3+
ms.date: 08/07/2024
4+
---
5+
6+
```mermaid
7+
flowchart LR
8+
APP["Local .NET app"]
9+
SP["App service principal stored in environment variables"]
10+
AS["Azure services <br/><br/> Azure AI Services, Azure Blob Storage, Azure Key Vault, other Azure services"]
11+
12+
APP --> SP
13+
SP --> AS
14+
15+
classDef app fill:#e6f3ff,stroke:#0078d4,stroke-width:2px,color:#000,font-size:16px
16+
classDef serviceP fill:#D4F4D4,stroke:#7BC97B,stroke-width:2px,color:#000,font-size:16px
17+
classDef services fill:#0078d4,stroke:#005ba1,stroke-width:2px,color:#fff,font-size:16px
18+
19+
class APP app
20+
class SP serviceP
21+
class AS services
22+
```

0 commit comments

Comments
 (0)