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
Copy file name to clipboardExpand all lines: sdk/security/arm-security/README.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
-
# Azure Service client library for JavaScript
1
+
# Azure SecurityCenter client library for JavaScript
2
2
3
-
This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure Service client.
3
+
This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure SecurityCenter client.
4
4
5
5
API spec for Microsoft.Security (Azure Security Center) resource provider
6
6
@@ -24,16 +24,16 @@ See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUP
24
24
25
25
### Install the `@azure/arm-security` package
26
26
27
-
Install the Azure Service client library for JavaScript with `npm`:
27
+
Install the Azure SecurityCenter client library for JavaScript with `npm`:
28
28
29
29
```bash
30
30
npm install @azure/arm-security
31
31
```
32
32
33
33
### Create and authenticate a `SecurityCenter`
34
34
35
-
To create a client object to access the Azure Service API, you will need the `endpoint` of your Azure Service resource and a `credential`. The Azure Service client can use Azure Active Directory credentials to authenticate.
36
-
You can find the endpoint for your Azure Service resource in the [Azure Portal][azure_portal].
35
+
To create a client object to access the Azure SecurityCenter API, you will need the `endpoint` of your Azure SecurityCenter resource and a `credential`. The Azure SecurityCenter client can use Azure Active Directory credentials to authenticate.
36
+
You can find the endpoint for your Azure SecurityCenter resource in the [Azure Portal][azure_portal].
37
37
38
38
You can authenticate with Azure Active Directory using a credential from the [@azure/identity][azure_identity] library or [an existing AAD Token](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token).
39
39
@@ -43,7 +43,7 @@ To use the [DefaultAzureCredential][defaultazurecredential] provider shown below
43
43
npm install @azure/identity
44
44
```
45
45
46
-
You will also need to **register a new AAD application and grant access to Azure Service** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
46
+
You will also need to **register a new AAD application and grant access to Azure SecurityCenter** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
47
47
Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`.
48
48
49
49
For more information about how to create an Azure AD Application check out [this guide](https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
@@ -72,7 +72,7 @@ To use this client library in the browser, first you need to use a bundler. For
72
72
73
73
### SecurityCenter
74
74
75
-
`SecurityCenter` is the primary interface for developers using the Azure Service client library. Explore the methods on this client object to understand the different features of the Azure Service service that you can access.
75
+
`SecurityCenter` is the primary interface for developers using the Azure SecurityCenter client library. Explore the methods on this client object to understand the different features of the Azure SecurityCenter service that you can access.
0 commit comments