Skip to content

Commit 3da56bc

Browse files
authored
Update section titles for Entra token documentation
1 parent a8f805f commit 3da56bc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/cli/entra-tokens.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Use the [**Azure CLI**](/cli/azure/install-azure-cli) to issue a [Microsoft Entr
2222
| Azure CLI     | Download and install the [Azure CLI](/cli/azure/install-azure-cli). |
2323
| Entra app | (If authenticating for a service principal) Create the Entra application and have the app client ID and client secret ready. |
2424

25-
## Acquire an Entra token for yourself
25+
## Get an Entra token for yourself
2626

2727
# [Azure CLI](#tab/azure-cli)
2828

@@ -43,7 +43,7 @@ Use the [**Azure CLI**](/cli/azure/install-azure-cli) to issue a [Microsoft Entr
4343
```
4444

4545
# [Azure PowerShell](#tab/azure-powershell)
46-
## Acquiring a token for a user
46+
## Get a token for a user
4747

4848
1. Sign in to Azure PowerShell using the `Connect-AzAccount` command and follow the on-screen instructions.
4949
2. Set the correct subscription for the signed-in user with these PowerShell commands. Make sure the Azure subscription ID is associated with the tenant connected to the Azure DevOps organization you're trying to access. If you don't know your subscription ID, you can find it in the [Azure portal](/azure/azure-portal/get-subscription-tenant-id).
@@ -60,7 +60,7 @@ Use the [**Azure CLI**](/cli/azure/install-azure-cli) to issue a [Microsoft Entr
6060
> [!NOTE]
6161
> [Get-AzAccessToken](/powershell/module/az.accounts/get-azaccesstoken) returns the token as a [SecureString](/dotnet/api/system.security.securestring). If you're unsure of how to use SecureString, refer to the documentation. To convert a SecureString to plain text to use in an Auth Header, leverage the .NET [[System.Runtime.InteropServices.Marshal]](/dotnet/api/system.runtime.interopservices.marshal) class to [convert](/dotnet/api/system.runtime.interopservices.marshal.securestringtobstr) the SecureString to a BSTR (binary string) pointer, then [read](/dotnet/api/system.runtime.interopservices.marshal.ptrtostringbstr) the pointer as a plain text string to a variable.
6262
63-
## Acquire a token for a service principal
63+
## Get a token for a service principal
6464

6565
1. Sign in to the Azure CLI as the service principal using the `az devops login` command.
6666
2. Follow the on-screen instructions and finish signing in.

0 commit comments

Comments
 (0)