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
@@ -73,9 +94,7 @@ Refer to the steps and code below to connect to Azure Blob Storage using a user-
73
94
> [!WARNING]
74
95
> Microsoft recommends that you use the most secure authentication flow available. The authentication flow described in this procedure requires a very high degree of trust in the application, and carries risks that are not present in other flows. You should only use this flow when other more secure flows, such as managed identities, aren't viable.
75
96
76
-
For default environment variables and sample code of other authentication type, please choose from beginning of the documentation.
77
-
78
-
#### SpringBoot client type
97
+
#### SpringBoot client
79
98
80
99
| Application properties | Description | Example value |
@@ -86,7 +105,8 @@ For default environment variables and sample code of other authentication type,
86
105
| spring.cloud.azure.storage.blob.account-key | Your Blob Storage account key for Spring Cloud Azure version 4.0 or above |`<account-key>`|
87
106
| spring.cloud.azure.storage.blob.endpoint | Your Blob Storage endpoint for Spring Cloud Azure version 4.0 or above |`https://<storage-account-name>.blob.core.windows.net/`|
88
107
89
-
#### Other client types
108
+
#### Other clients
109
+
90
110
| Default environment variable name | Description | Example value |
| spring.cloud.azure.storage.blob.credential.client-id | Client ID of the service principal |`00001111-aaaa-2222-bbbb-3333cccc4444`|
130
+
| spring.cloud.azure.storage.blob.credential.client-secret | Client secret to perform service principal authentication |`Aa1Bb~2Cc3.-Dd4Ee5Ff6Gg7Hh8Ii9_Jj0Kk1Ll2`|
131
+
132
+
#### Other clients
102
133
103
134
| Default environment variable name | Description | Example value |
@@ -67,7 +93,8 @@ Refer to the steps and code below to connect to Azure Queue Storage using a user
67
93
> [!WARNING]
68
94
> Microsoft recommends that you use the most secure authentication flow available. The authentication flow described in this procedure requires a very high degree of trust in the application, and carries risks that are not present in other flows. You should only use this flow when other more secure flows, such as managed identities, aren't viable.
69
95
70
-
#### SpringBoot client type
96
+
#### SpringBoot client
97
+
71
98
72
99
| Application properties | Description | Example value |
@@ -77,7 +104,7 @@ Refer to the steps and code below to connect to Azure Queue Storage using a user
77
104
| spring.cloud.azure.storage.queue.account-key | Queue storage account key for Spring Cloud Azure version above 4.0 |`<account-key>`|
78
105
| spring.cloud.azure.storage.queue.endpoint | Queue storage endpoint for Spring Cloud Azure version above 4.0 |`https://<storage-account-name>.queue.core.windows.net/`|
79
106
80
-
#### Other client types
107
+
#### Other clients
81
108
82
109
| Default environment variable name | Description | Example value |
| spring.cloud.azure.storage.queue.credential.client-id | Client ID of the service principal |`00001111-aaaa-2222-bbbb-3333cccc4444`|
129
+
| spring.cloud.azure.storage.queue.credential.client-secret | Client secret to perform service principal authentication |`Aa1Bb~2Cc3.-Dd4Ee5Ff6Gg7Hh8Ii9_Jj0Kk1Ll2`|
130
+
131
+
#### Other clients
132
+
93
133
| Default environment variable name | Description | Example value |
Copy file name to clipboardExpand all lines: articles/service-connector/includes/code-blob-me-id.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -89,8 +89,8 @@ var blobServiceClient = new BlobServiceClient(
89
89
.buildClient();
90
90
```
91
91
92
-
### [springBoot](#tab/springBoot)
93
-
Authentication type is not supported for Spring Boot.
92
+
### [SpringBoot](#tab/springBoot)
93
+
Refer to [Upload a file to an Azure Blob Storage](/azure/developer/java/spring-framework/configure-spring-boot-starter-java-app-with-azure-storage?toc=%2Fazure%2Fstorage%2Fblobs%2Ftoc.json) and set up your Spring application. The configuration properties (of Spring Cloud Azure 4.0 and above) are added to Spring Apps by Service Connector. For more information about configuration properties, see [Azure Storage Blob Properties](https://microsoft.github.io/spring-cloud-azure/current/reference/html/appendix.html#azure_storage_blob_proeprties).
Copy file name to clipboardExpand all lines: articles/service-connector/includes/code-queue-me-id.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -86,7 +86,7 @@ ms.author: wchi
86
86
```
87
87
88
88
### [SpringBoot](#tab/springBoot)
89
-
Spring Boot clienttype doesn't support the authentication type.
89
+
Refer to [Spring Cloud Azure Storage Queue Operation Code Sample](https://github.com/Azure-Samples/azure-spring-boot-samples/tree/spring-cloud-azure_v4.3.0/storage/spring-cloud-azure-starter-storage-queue/storage-queue-client) to set up your Spring application. The configuration properties (of Spring Cloud Azure 4.0 and above) are added to Spring Apps by Service Connector. For more information about configuration properties, check [Azure Storage Queue Properties](https://microsoft.github.io/spring-cloud-azure/current/reference/html/appendix.html#azure_storage_queue_proeprties).
0 commit comments