Skip to content

Commit 39fdf5e

Browse files
committed
Edits
1 parent 49991a8 commit 39fdf5e

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

includes/iot-hub-howto-connect-service-iothub-entra-java.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,6 @@ You can use [ClientSecretCredentialBuilder](/java/api/com.azure.identity.clients
5050
In this example, Microsoft Entra app registration client secret, client ID, and tenant ID values have been added to environment variables. These environment variables are used by `ClientSecretCredentialBuilder` to build the credential.
5151

5252
```java
53-
// Credentials can be built from types from the Azure Identity library like ClientSecretCredential.
54-
// The Azure Identity library also defines other implementations of the TokenCredential interface such as
55-
// DefaultAzureCredential, InteractiveBrowserCredential, and many others.
56-
5753
string clientSecretValue = System.getenv("AZURE_CLIENT_SECRET");
5854
string clientID = System.getenv("AZURE_CLIENT_ID");
5955
string tenantID = System.getenv("AZURE_TENANT_ID");

includes/iot-hub-howto-module-twins-dotnet.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ registryManager = RegistryManager.CreateFromConnectionString(connectionString);
174174

175175
#### Connect using Microsoft Entra
176176

177-
[!INCLUDE [iot-hub-howto-connect-service-iothub-entra-dotnet](iot-hub-howto-connect-service-iothub-entra-dotnet.md)]
177+
[!INCLUDE [iot-hub-howto-connect-service-iothub-entra-java](iot-hub-howto-connect-service-iothub-entra-java.md)]
178178

179179
### Read and update module identity fields
180180

0 commit comments

Comments
 (0)