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: articles/go/sdk/authentication/local-development-dev-accounts.md
+3-39Lines changed: 3 additions & 39 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,51 +43,15 @@ Next, sign in to Azure by using one of several developer tools that you can use
43
43
44
44
### [Azure CLI](#tab/sign-in-azure-cli)
45
45
46
-
Developers can use [Azure CLI](/cli/azure/what-is-azure-cli) to authenticate. Apps that use [DefaultAzureCredential](https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/azidentity#DefaultAzureCredential) or [AzureCLICredential](https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/azidentity#AzureCLICredential) can then use this account to authenticate app requests.
47
-
48
-
To authenticate with the Azure CLI, run the `az login` command. On a system with a default web browser, the Azure CLI launches the browser to authenticate the user.
49
-
50
-
```azurecli
51
-
az login
52
-
```
53
-
54
-
For systems without a default web browser, the `az login` command uses the device code authentication flow. You can also force the Azure CLI to use the device code flow rather than launching a browser by specifying the `--use-device-code` argument.
Developers can use [Azure Developer CLI](/azure/developer/azure-developer-cli/overview) to authenticate. Apps that use [DefaultAzureCredential](https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/azidentity#DefaultAzureCredential) or [AzureDeveloperCLICredential](https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/azidentity#AzureDeveloperCLICredential) can then use this account to authenticate app requests.
63
-
64
-
To authenticate with the Azure Developer CLI, run the `azd auth login` command. On a system with a default web browser, the Azure Developer CLI launches the browser to authenticate the user.
65
-
66
-
```azdeveloper
67
-
azd auth login
68
-
```
69
-
70
-
For systems without a default web browser, the `azd auth login --use-device-code` command uses the device code authentication flow. You can also force the Azure Developer CLI to use the device code flow rather than launching a browser by specifying the `--use-device-code` argument.
Developers can use [Azure PowerShell](/powershell/azure/what-is-azure-powershell) to authenticate. Apps that use [DefaultAzureCredential](https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/azidentity#DefaultAzureCredential) or [AzurePowerShellCredential](https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/azidentity#AzurePowerShellCredential) can use this account to authenticate app requests.
79
-
80
-
To authenticate with Azure PowerShell, run the command `Connect-AzAccount`. On a system with a default web browser and version 5.0.0 or later of Azure PowerShell, the command launches the browser to authenticate the user.
81
-
82
-
```azurepowershell
83
-
Connect-AzAccount
84
-
```
85
-
86
-
For systems without a default web browser, the `Connect-AzAccount` command uses the device code authentication flow. You can also force Azure PowerShell to use the device code flow rather than launching a browser by specifying the `UseDeviceAuthentication` argument.
Developers can use [Azure CLI](/cli/azure/what-is-azure-cli) to authenticate. Apps that use `DefaultAzureCredential` or `AzureCLICredential` can then use this account to authenticate app requests.
10
+
11
+
To authenticate with the Azure CLI, run the `az login` command. On a system with a default web browser, the Azure CLI launches the browser to authenticate the user.
12
+
13
+
```azurecli
14
+
az login
15
+
```
16
+
17
+
For systems without a default web browser, the `az login` command uses the device code authentication flow. You can also force the Azure CLI to use the device code flow rather than launching a browser by specifying the `--use-device-code` argument.
Developers can use [Azure Developer CLI](/azure/developer/azure-developer-cli/overview) to authenticate to Microsoft Entra ID. Apps using `DefaultAzureCredential` or `AzureDeveloperCliCredential` can then use this account to authenticate app requests when running locally.
10
+
11
+
To authenticate with the Azure Developer CLI, run the `azd auth login` command. On a system with a default web browser, the Azure Developer CLI launches the browser to authenticate the user.
12
+
13
+
```azdeveloper
14
+
azd auth login
15
+
```
16
+
17
+
For systems without a default web browser, the `azd auth login --use-device-code` uses the device code authentication flow. The user can also force the Azure Developer CLI to use the device code flow rather than launching a browser by specifying the `--use-device-code` argument.
Developers can use [Azure PowerShell](/powershell/azure/what-is-azure-powershell) to authenticate to Microsoft Entra ID. Apps using `DefaultAzureCredential` or `AzurePowerShellCredential` can then use this account to authenticate app requests when running locally.
10
+
11
+
To authenticate with Azure PowerShell, run the command `Connect-AzAccount`. On a system with a default web browser and version 5.0.0 or later of Azure PowerShell, it launches the browser to authenticate the user.
12
+
13
+
```azurepowershell
14
+
Connect-AzAccount
15
+
```
16
+
17
+
For systems without a default web browser, the `Connect-AzAccount` command uses the device code authentication flow. The user can also force Azure PowerShell to use the device code flow rather than launching a browser by specifying the `UseDeviceAuthentication` argument.
0 commit comments