Skip to content

Commit 0f6a13a

Browse files
authored
Reformat DefaultAzureCredential flow chart (#36529)
* Reformat DefaultAzureCredential flow chart * Update credential type text * Simplify instructions
1 parent b013885 commit 0f6a13a

File tree

2 files changed

+19
-6
lines changed

2 files changed

+19
-6
lines changed

sdk/identity/azure-identity/images/mermaidjs/DefaultAzureCredentialAuthFlow.md

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,29 @@
11
```mermaid
22
%% STEPS TO GENERATE IMAGE
33
%% =======================
4-
%% 1. Install mermaid CLI (see https://github.com/mermaid-js/mermaid-cli/blob/master/README.md)
5-
%% v10.1.0 is known good for our process. npm install -g @mermaid-js/mermaid-cli@10.1.0
4+
%% 1. Install mermaid CLI v10.9.1 (see https://github.com/mermaid-js/mermaid-cli/blob/master/README.md):
5+
%% npm i -g @mermaid-js/mermaid-cli@10.9.1
66
%% 2. Run command: mmdc -i DefaultAzureCredentialAuthFlow.md -o DefaultAzureCredentialAuthFlow.svg
77
8-
flowchart LR;
9-
A(Environment):::deployed --> B(Workload Identity):::deployed --> C(Managed Identity):::deployed --> D(Azure CLI):::developer --> E(Azure PowerShell):::developer --> F(Azure Developer CLI):::developer --> G(Interactive browser):::interactive;
8+
%%{
9+
init: {
10+
'theme': 'base',
11+
'themeVariables': {
12+
'tertiaryBorderColor': '#fff',
13+
'tertiaryColor': '#fff'
14+
}
15+
}
16+
}%%
1017
18+
flowchart LR;
1119
subgraph CREDENTIAL TYPES;
1220
direction LR;
13-
Deployed(Deployed service):::deployed ~~~ Developer(Developer):::developer ~~~ Interactive(Interactive developer):::interactive;
21+
Deployed(Deployed service):::deployed ~~~ Developer(Developer):::developer ~~~ Interactive(Interactive):::interactive;
22+
end;
23+
24+
subgraph CREDENTIALS;
25+
direction LR;
26+
A(Environment):::deployed --> B(Workload Identity):::deployed --> C(Managed Identity):::deployed --> D(Azure CLI):::developer --> E(Azure PowerShell):::developer --> F(Azure Developer CLI):::developer --> G(Interactive browser):::interactive;
1427
end;
1528
1629
%% Define styles for credential type boxes

0 commit comments

Comments
 (0)