Skip to content

Commit 6df89d4

Browse files
authored
udpate pic link from relative to absolute ones (Azure#21251)
* udpate pic link from relative to absolute ones * update cert starter
1 parent 7641fcd commit 6df89d4

File tree

3 files changed

+39
-39
lines changed
  • sdk/spring
    • azure-spring-boot-starter-active-directory-b2c
    • azure-spring-boot-starter-active-directory
    • azure-spring-boot-starter-keyvault-certificates

3 files changed

+39
-39
lines changed

sdk/spring/azure-spring-boot-starter-active-directory-b2c/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ accept or deny access after validating access_token obtained from Azure AD. We w
4949
1. Accessing a resource server.
5050
1. Resource server accessing other resource servers.
5151

52-
![B2C Web application & Web Api Overall](resource/b2c-webapp-webapi-overall.png)
52+
![B2C Web application & Web Api Overall](https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/spring/azure-spring-boot-starter-active-directory-b2c/resource/b2c-webapp-webapi-overall.png)
5353

5454
### Accessing a web application
5555

@@ -71,7 +71,7 @@ This scenario uses the [The OAuth 2.0 authorization code grant] flow to login in
7171
select **Delegated permissions**, check **offline_access** and **openid** permissions, select **Add permission** to complete the process.
7272

7373
1. Grant admin consent for ***Graph*** permissions.
74-
![Add Graph permissions](resource/add-graph-permissions.png)
74+
![Add Graph permissions](https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/spring/azure-spring-boot-starter-active-directory-b2c/resource/add-graph-permissions.png)
7575

7676
1. Add the following dependencies in your *pom.xml*.
7777

@@ -219,13 +219,13 @@ This scenario is based on **Accessing a web application** scenario to allow appl
219219
}
220220
```
221221

222-
![Configure WebApiA appRoles](resource/configure-app-roles.png)
222+
![Configure WebApiA appRoles](https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/spring/azure-spring-boot-starter-active-directory-b2c/resource/configure-app-roles.png)
223223

224224
1. Select **API permissions** > **Add a permission** > **My APIs**, select ***WebApiA*** application name,
225225
select **Application Permissions**, select **WebApiA.SampleScope** permission, select **Add permission** to complete the process.
226226

227227
1. Grant admin consent for ***WebApiA*** permissions.
228-
![Add WebApiA permission](resource/add-webapia-permission.png)
228+
![Add WebApiA permission](https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/spring/azure-spring-boot-starter-active-directory-b2c/resource/add-webapia-permission.png)
229229

230230
1. Add the following dependency on the basis of **Accessing a web application** scenario.
231231

@@ -392,10 +392,10 @@ This scenario is an upgrade of **Accessing a resource server**, supports access
392392
}
393393
```
394394

395-
![Configure WebApiB appRoles](resource/expose-web-api-b-approle.png)
395+
![Configure WebApiB appRoles](https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/spring/azure-spring-boot-starter-active-directory-b2c/resource/expose-web-api-b-approle.png)
396396

397397
1. Grant admin consent for ***WebApiB*** permissions.
398-
![Add WebApiB permission](resource/add-webapib-permission-to-webapia.png)
398+
![Add WebApiB permission](https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/spring/azure-spring-boot-starter-active-directory-b2c/resource/add-webapib-permission-to-webapia.png)
399399

400400
1. On the basis of **Accessing a resource server**, add a dependency in your *pom.xml*.
401401

sdk/spring/azure-spring-boot-starter-active-directory/README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ This scenario uses the [The OAuth 2.0 authorization code grant] flow to login in
3131

3232
**System diagram**:
3333

34-
![Standalone Web Application](resource/web-application.png)
34+
![Standalone Web Application](https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/spring/azure-spring-boot-starter-active-directory/resource/web-application.png)
3535

3636

3737
* Step 1: Make sure `redirect URI` has been set to `{application-base-uri}/login/oauth2/code/`, for
3838
example `http://localhost:8080/login/oauth2/code/`. Note the tailing `/` cannot be omitted.
3939

40-
![web-application-set-redirect-uri-1.png](resource/web-application-set-redirect-uri-1.png)
41-
![web-application-set-redirect-uri-2.png](resource/web-application-set-redirect-uri-2.png)
40+
![web-application-set-redirect-uri-1.png](https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/spring/azure-spring-boot-starter-active-directory/resource/web-application-set-redirect-uri-1.png)
41+
![web-application-set-redirect-uri-2.png](https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/spring/azure-spring-boot-starter-active-directory/resource/web-application-set-redirect-uri-2.png)
4242

4343
* Step 2: Add the following dependencies in your pom.xml.
4444

@@ -96,7 +96,7 @@ example `http://localhost:8080/login/oauth2/code/`. Note the tailing `/` cannot
9696

9797
**System diagram**:
9898

99-
![web-application-visiting-resource-servers.png](resource/web-application-visiting-resource-servers.png)
99+
![web-application-visiting-resource-servers.png](https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/spring/azure-spring-boot-starter-active-directory/resource/web-application-visiting-resource-servers.png)
100100

101101
* Step 1: Make sure `redirect URI` has been set, just like [Accessing a web application].
102102

@@ -150,7 +150,7 @@ This scenario not support login. Just protect the server by validating the acces
150150

151151
**System diagram**:
152152

153-
![Standalone resource server usage](resource/resource-server.png)
153+
![Standalone resource server usage](https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/spring/azure-spring-boot-starter-active-directory/resource/resource-server.png)
154154

155155
To use **aad-starter** in this scenario, we need these steps:
156156

@@ -179,8 +179,8 @@ To use **aad-starter** in this scenario, we need these steps:
179179
```
180180
Both `client-id` and `app-id-uri` can be used to verify access token. `app-id-uri` can be get in Azure Portal:
181181

182-
![get-app-id-uri-1.png](resource/get-app-id-uri-1.png)
183-
![get-app-id-uri-2.png](resource/get-app-id-uri-2.png)
182+
![get-app-id-uri-1.png](https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/spring/azure-spring-boot-starter-active-directory/resource/get-app-id-uri-1.png)
183+
![get-app-id-uri-2.png](https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/spring/azure-spring-boot-starter-active-directory/resource/get-app-id-uri-2.png)
184184

185185
* Step 3: Write Java code:
186186

@@ -212,7 +212,7 @@ This scenario support visit other resource servers in resource servers.
212212

213213
**System diagram**:
214214

215-
![resource-server-visiting-other-resource-servers.png](resource/resource-server-visiting-other-resource-servers.png)
215+
![resource-server-visiting-other-resource-servers.png](https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/spring/azure-spring-boot-starter-active-directory/resource/resource-server-visiting-other-resource-servers.png)
216216

217217
To use **aad-starter** in this scenario, we need these steps:
218218

@@ -480,7 +480,7 @@ This starter supports [Conditional Access] policy. By using [Conditional Access]
480480

481481
In [Resource server visiting other resource server] scenario(For better description, we think that resource server with OBO function as **webapiA** and the other resource servers as **webapiB**), When we configure the webapiB application with Conditional Access(such as [multi-factor authentication]), this stater will help us send the Conditional Access information of the webapiA to the web application and the web application will help us complete the Conditional Access Policy. As shown below:
482482

483-
![aad-conditional-access-flow.png](resource/aad-conditional-access-flow.png)
483+
![aad-conditional-access-flow.png](https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/spring/azure-spring-boot-starter-active-directory/resource/aad-conditional-access-flow.png)
484484

485485

486486

@@ -491,13 +491,13 @@ In [Resource server visiting other resource server] scenario(For better descript
491491

492492
* Step 1: Follow the guide to create conditional access policy for webapiB.
493493

494-
![aad-create-conditional-access](resource/aad-create-conditional-access.png)
494+
![aad-create-conditional-access](https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/spring/azure-spring-boot-starter-active-directory/resource/aad-create-conditional-access.png)
495495

496-
![aad-conditional-access-add-application](resource/aad-conditional-access-add-application.png)
496+
![aad-conditional-access-add-application](https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/spring/azure-spring-boot-starter-active-directory/resource/aad-conditional-access-add-application.png)
497497

498498
* Step 2: [Require MFA for all users] or specify the user account in your policy.
499499

500-
![aad-create-conditional-access](resource/aad-conditional-access-add-user.png)
500+
![aad-create-conditional-access](https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/spring/azure-spring-boot-starter-active-directory/resource/aad-conditional-access-add-user.png)
501501

502502
* Step 3: Follow the guide, configure our samples.
503503
1. **webapiB**: [configure webapiB]

sdk/spring/azure-spring-boot-starter-keyvault-certificates/README.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -28,39 +28,39 @@ Azure Key Vault Certificates Spring Boot Starter is Spring starter for [Azure Ke
2828
1. Input `Key Vault`.
2929

3030
1. Click `Key Vault`
31-
![Find Azure Key Vault Resource 01](resource/creating-an-azure-key-vault-01.png)
31+
![Find Azure Key Vault Resource 01](https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/spring/azure-spring-boot-starter-keyvault-certificates/resource/creating-an-azure-key-vault-01.png)
3232

33-
![Find Azure Key Vault Resource 02](resource/creating-an-azure-key-vault-02.png)
33+
![Find Azure Key Vault Resource 02](https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/spring/azure-spring-boot-starter-keyvault-certificates/resource/creating-an-azure-key-vault-02.png)
3434

3535
1. Click **Create**.
3636

37-
![Create new Key Vault](resource/creating-an-azure-key-vault-03.png)
37+
![Create new Key Vault](https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/spring/azure-spring-boot-starter-keyvault-certificates/resource/creating-an-azure-key-vault-03.png)
3838

3939
1. On the **Create key vault** page, input `Subscription`, `Resource group`, `Key vault name` and `Pricing tier`, then click `Review + Create`.
4040

41-
![Specify the options](resource/specify-the-options.png)
41+
![Specify the options](https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/spring/azure-spring-boot-starter-keyvault-certificates/resource/specify-the-options.png)
4242

43-
![Create Key Vault resource](resource/create-key-vault-resource.png)
43+
![Create Key Vault resource](https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/spring/azure-spring-boot-starter-keyvault-certificates/resource/create-key-vault-resource.png)
4444

4545
1. When complete, click `Go to resource`.
4646

47-
![Go to resource](resource/go-to-resource.png)
47+
![Go to resource](https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/spring/azure-spring-boot-starter-keyvault-certificates/resource/go-to-resource.png)
4848

4949
1. When the page for your app registration appears, copy your **Vault URI**;
5050

51-
![Save vault uri](resource/save-vault-uri.png)
51+
![Save vault uri](https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/spring/azure-spring-boot-starter-keyvault-certificates/resource/save-vault-uri.png)
5252

5353
1. Click **Certificates** in the left navigation pane. Then click **Generate/Import**.
5454

55-
![Create Certificates](resource/create-certificates.png)
55+
![Create Certificates](https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/spring/azure-spring-boot-starter-keyvault-certificates/resource/create-certificates.png)
5656

5757
1. Enter a **Certificates name**, and enter a **Subject** like `CN=mydomain.com`. then click **create**.
5858

59-
![Specify Certificates Info](resource/specify-certificates-info.png)
59+
![Specify Certificates Info](https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/spring/azure-spring-boot-starter-keyvault-certificates/resource/specify-certificates-info.png)
6060

6161
1. After the certificate is successfully created, it takes a while for the status to become `Enabled`. You can click **refresh** to check current status.
6262

63-
![Check Certificates status](resource/check-certificates-status.png)
63+
![Check Certificates status](https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/spring/azure-spring-boot-starter-keyvault-certificates/resource/check-certificates-status.png)
6464

6565
## Key concepts
6666
This starter allows you to securely manage and tightly control your certificates by using Azure Key Vault or side-load certificates by supplying them as part of the application.
@@ -74,31 +74,31 @@ This starter allows you to securely manage and tightly control your certificates
7474

7575
2. Click **Azure Active Directory**.
7676

77-
![Select Azure Active Directory](resource/select-azure-active-directory.png)
77+
![Select Azure Active Directory](https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/spring/azure-spring-boot-starter-keyvault-certificates/resource/select-azure-active-directory.png)
7878

7979
1. From the portal menu, Click **App registrations**,
8080

8181
1. Click **New registration**.
8282

83-
![New registration](resource/new-registration.png)
83+
![New registration](https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/spring/azure-spring-boot-starter-keyvault-certificates/resource/new-registration.png)
8484

8585
1. Specify your application, and then Click **Register**.
8686

87-
![Specify application](resource/specify-application.png)
87+
![Specify application](https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/spring/azure-spring-boot-starter-keyvault-certificates/resource/specify-application.png)
8888

8989
1. When the page for your app registration appears, copy your **Application ID** and the **Tenant ID**;
9090

91-
![Get info for app](resource/get-info-for-app.png)
91+
![Get info for app](https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/spring/azure-spring-boot-starter-keyvault-certificates/resource/get-info-for-app.png)
9292

9393
1. Click **Certificates & secrets** in the left navigation pane. Then click **New client secret**.
9494

9595
1. Add a **Description** and click duration in the **Expires** list. Click **Add**. The value for the key will be automatically filled in.
9696

97-
![Create secrets](resource/create-secrets.png)
97+
![Create secrets](https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/spring/azure-spring-boot-starter-keyvault-certificates/resource/create-secrets.png)
9898

9999
1. Copy and save the value of the client secret. (You will not be able to retrieve this value later.)
100100

101-
![Copy secrets](resource/copy-secrets.png)
101+
![Copy secrets](https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/spring/azure-spring-boot-starter-keyvault-certificates/resource/copy-secrets.png)
102102

103103
Add these items in your `application.yml`:
104104
```yaml
@@ -119,23 +119,23 @@ Make sure the client-id can access target Key Vault. Here are steps to configure
119119
120120
1. Type your key vault name in **Search resources, services, and docs** and click your key vault created before.
121121
122-
![Back to key vault](resource/back-to-key-vault.png)
122+
![Back to key vault](https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/spring/azure-spring-boot-starter-keyvault-certificates/resource/back-to-key-vault.png)
123123
124124
1. Click **Access policies** in the left navigation pane. Then click **Add Access Policy**.
125125
126-
![Add Access Policy](resource/add-access-policy.png)
126+
![Add Access Policy](https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/spring/azure-spring-boot-starter-keyvault-certificates/resource/add-access-policy.png)
127127
128128
1. Select **Key, Secret, &Certificate Management** as **Configure for template(optional)**. Permissions will be added automatically.
129129
130-
![Select configure](resource/select-configure.png)
130+
![Select configure](https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/spring/azure-spring-boot-starter-keyvault-certificates/resource/select-configure.png)
131131
132132
1. Click **None selected** and choose application created before, click **Select**, then click **Add**.
133133
134-
![Choose application](resource/choose-application.png)
134+
![Choose application](https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/spring/azure-spring-boot-starter-keyvault-certificates/resource/choose-application.png)
135135
136136
1. Click **Save**.
137137
138-
![Save Access Policy](resource/save-access-policy.png)
138+
![Save Access Policy](https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/spring/azure-spring-boot-starter-keyvault-certificates/resource/save-access-policy.png)
139139
140140
#### Using a managed identity
141141

0 commit comments

Comments
 (0)