Skip to content

Commit 587f2b7

Browse files
scottaddiebillwert
authored andcommitted
Reformat DefaultAzureCredential flow chart (#41201)
1 parent 6c8997c commit 587f2b7

File tree

2 files changed

+17
-7
lines changed

2 files changed

+17
-7
lines changed

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

+16-6
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,31 @@
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.0.2 is known good for our process. npm install -g @mermaid-js/mermaid-cli@10.0.2
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
7-
%% 3. Generate in .png, run command: mmdc -i DefaultAzureCredentialAuthFlow.md -o DefaultAzureCredentialAuthFlow.png
8-
%% 4. Copy the generated .png file to azure-identity/src/main/java/com/azure/identity/doc-files directory
97
8+
%%{
9+
init: {
10+
'theme': 'base',
11+
'themeVariables': {
12+
'tertiaryBorderColor': '#fff',
13+
'tertiaryColor': '#fff'
14+
}
15+
}
16+
}%%
1017
1118
flowchart LR;
12-
A(Environment):::deployed --> B(Workload Identity):::deployed --> C(Managed Identity):::deployed --> D(Azure Developer CLI):::developer --> E(IntelliJ):::developer --> F(Azure CLI):::developer --> G(Azure PowerShell):::developer;
13-
1419
subgraph CREDENTIAL TYPES;
1520
direction LR;
1621
Deployed(Deployed service):::deployed ~~~ Developer(Developer):::developer;
1722
end;
1823
24+
subgraph CREDENTIALS;
25+
direction LR;
26+
A(Environment):::deployed --> B(Workload Identity):::deployed --> C(Managed Identity):::deployed --> D(Azure Developer CLI):::developer --> E(IntelliJ):::developer --> F(Azure CLI):::developer --> G(Azure PowerShell):::developer;
27+
end;
28+
1929
%% Define styles for credential type boxes
2030
classDef deployed fill:#95C37E, stroke:#71AD4C;
2131
classDef developer fill:#F5AF6F, stroke:#EB7C39;

0 commit comments

Comments
 (0)