Skip to content

Commit ad0485a

Browse files
authored
[Identity] Add note on Node.js support (Azure#15139)
* [Identity] Add note on Node.js support * Remove note on persistent cache feature
1 parent 13dccb4 commit ad0485a

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

sdk/identity/identity/README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,14 @@ npm install --save @azure/identity
1818

1919
### Prerequisites
2020

21-
- Node.js 8 LTS or higher.
2221
- An [Azure subscription](https://azure.microsoft.com/free/).
23-
- The [Azure CLI][azure_cli] can also be useful for authenticating in a development environment and managing account roles.
22+
- Optional: The [Azure CLI][azure_cli] can also be useful for authenticating in a development environment and managing account roles.
2423

25-
Credentials `InteractiveBrowserCredential`, `DeviceCodeCredential`, `ClientSecretCredential`, `ClientCertificateCredential` and `UsernamePasswordCredential` allow specifying `tokenCachePersistenceOptions` to enable persistent caching. To use this feature, developers will also need to install [@azure/msal-node-extensions](https://www.npmjs.com/package/@azure/msal-node-extensions).
24+
#### Supported Node.js versions
25+
26+
This version of `@azure/identity` supports stable (even numbered) versions of Node.js starting from v10. While it may run in Node.js v8, no support is guaranteed.
27+
28+
> **Note:** If your application runs on Node.js v8 or lower, we strongly recommend you to upgrade your Node.js version to latest stable version or pin your `@azure/identity` dependency to version 1.1.0.
2629
2730
### Authenticate the client in development environment
2831

0 commit comments

Comments
 (0)