Skip to content

Commit 177269c

Browse files
committed
Updated Entra sections
1 parent 18e0d20 commit 177269c

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

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

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ ms.manager: lizross
1111
ms.date: 11/06/2024
1212
---
1313

14-
### Entra client secret credential
14+
### Microsoft Entra client secret credential
1515

16-
Use [ClientSecretCredential](https://learn.microsoft.com/en-us/java/api/com.azure.identity.clientsecretcredential) to authenticate an application with Microsoft Entra.
16+
Use [ClientSecretCredential](/java/api/com.azure.identity.clientsecretcredential) to authenticate an application with Microsoft Entra.
1717

1818
`ClientSecretCredential` is configured using [ClientSecretCredentialBuilder](/java/api/com.azure.identity.clientsecretcredentialbuilder).
1919

@@ -24,13 +24,12 @@ TokenCredential clientSecretCredential = new ClientSecretCredentialBuilder().ten
2424
.build();
2525
```
2626

27-
### Entra client certificate credential
27+
### Microsoft Entra client certificate credential
2828

29-
You can use [ClientCertificateCredential](/java/api/com.azure.identity.clientcertificatecredential) to create a `TokenCredential` using a certicate.
29+
You can use [ClientCertificateCredential](/java/api/com.azure.identity.clientcertificatecredential) to create a `TokenCredential` using a certificate.
3030

3131
The `TokenCredential` can then be passed to service constructors such as:
3232

33-
* [DeviceTwin](https://learn.microsoft.com/en-us/java/api/com.microsoft.azure.sdk.iot.service.devicetwin.devicetwin?view=azure-java-stable#com-microsoft-azure-sdk-iot-service-devicetwin-devicetwin-devicetwin(java-lang-string-com-azure-core-credential-tokencredential))
34-
35-
For more information about Entra app registration, see [Quickstart: Register an application with the Microsoft identity platform](https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-register-app).
33+
* [DeviceTwin](/java/api/com.microsoft.azure.sdk.iot.service.devicetwin.devicetwin?#com-microsoft-azure-sdk-iot-service-devicetwin-devicetwin-devicetwin(java-lang-string-com-azure-core-credential-tokencredential))
3634

35+
For more information about Microsoft Entra app registration, see [Quickstart: Register an application with the Microsoft identity platform](/entra/identity-platform/quickstart-register-app).

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ For an overview of Node.js SDK authentication, see:
1616
* [Getting started with user authentication on Azure](/azure/developer/javascript/how-to/with-authentication/getting-started)
1717
* [Azure Identity client library for JavaScript](/javascript/api/overview/azure/identity-readme)
1818

19-
##### Entra token credential
19+
##### Microsoft Entra token credential
2020

21-
Use [DefaultAzureCredential](/javascript/api/@azure/identity/defaultazurecredential) to generate a token. The token will be supplied to `fromTokenCredential`.
21+
Use [DefaultAzureCredential](/javascript/api/@azure/identity/defaultazurecredential) to generate a token. The token is supplied to `fromTokenCredential`.
2222

2323
To create required Microsoft Entra app parameters for `DefaultAzureCredential`, create a Microsoft Entra app registration that contains your selected authentication mechanism:
2424

@@ -32,14 +32,14 @@ Microsoft Entra apps may require permissions depending on operations performed.
3232

3333
##### Connect to IoT Hub
3434

35-
Use [fromTokenCredential](/javascript/api/azure-iothub/registry?#azure-iothub-registry-fromtokencredential) to create a service connection to IoT Hub using an Entra token credential.
35+
Use [fromTokenCredential](/javascript/api/azure-iothub/registry?#azure-iothub-registry-fromtokencredential) to create a service connection to IoT Hub using a Microsoft Entra token credential.
3636

3737
`fromTokenCredential` requires two parameters:
3838

3939
* hostname - The Azure service URL
4040
* tokenCredential - The Azure credential token
4141

42-
In this example, the Azure credential is obtained using `DefaultAzureCredential`. THe Azure domain URL and credential are then supplied to `KeyClient`.
42+
In this example, the Azure credential is obtained using `DefaultAzureCredential`. The Azure domain URL and credential are then supplied to `KeyClient`.
4343

4444
```javascript
4545
import { DefaultAzureCredential } from "@azure/identity";

0 commit comments

Comments
 (0)