Update README for withAzLoginIdentity (#177)
* Update README for withAzLoginIdentity * Some wording Co-authored-by: AsafMah <asafmahlev@microsoft.com>
This commit is contained in:
Родитель
e66b7d97da
Коммит
ef258292d3
|
@ -81,6 +81,22 @@ KustoConnectionStringBuilder.withAadDeviceAuthentication(`https://${clusterName}
|
|||
});
|
||||
```
|
||||
|
||||
### Az Login
|
||||
|
||||
You will need to [install the azure-cli](https://docs.microsoft.com/en-us/cli/azure/install-azure-cli) and run the following command:
|
||||
|
||||
```bash
|
||||
az login
|
||||
```
|
||||
|
||||
This method uses the token stored in azure cli for authentication.
|
||||
|
||||
**<!>This is not recommeneded for unattended authentication<!>**
|
||||
|
||||
```javascript
|
||||
const kcsb = KustoConnectionStringBuilder.withAzLoginIdentity(`https://${clusterName}.kusto.windows.net`); // optionally also pass authorityId
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
Query language docs can be found at https://docs.microsoft.com/en-us/azure/data-explorer/write-queries#overview-of-the-query-language
|
||||
|
|
Загрузка…
Ссылка в новой задаче