Skip to content

Commit a085eaa

Browse files
authored
Refactored secure string note (#3489)
1 parent a6ab4d5 commit a085eaa

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

azps-13.1.0/Az.Accounts/Get-AzAccessToken.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@ original_content_git_url: https://github.com/Azure/azure-powershell/blob/main/sr
1111

1212
## SYNOPSIS
1313
Get secure raw access token. When using -ResourceUrl, please make sure the value does match current Azure environment. You may refer to the value of `(Get-AzContext).Environment`.
14-
> **_NOTE:_** The current default output token type is going to be changed from plain text `String` to `SecureString` for security. Please use `-AsSecureString` to migrate to the secure behaviour before the breaking change takes effects.
14+
15+
> [!NOTE]
16+
> For security purposes, the default output type will change from a plain text `String` to
17+
> `SecureString`. To prepare for this change and ensure secure handling, use the **AsSecureString**
18+
> parameter before the update takes effect.
1519
1620
## SYNTAX
1721

azps-13.2.0/Az.Accounts/Get-AzAccessToken.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@ original_content_git_url: https://github.com/Azure/azure-powershell/blob/main/sr
1111

1212
## SYNOPSIS
1313
Get secure raw access token. When using -ResourceUrl, please make sure the value does match current Azure environment. You may refer to the value of `(Get-AzContext).Environment`.
14-
> **_NOTE:_** The current default output token type is going to be changed from plain text `String` to `SecureString` for security. Please use `-AsSecureString` to migrate to the secure behaviour before the breaking change takes effects.
14+
15+
> [!NOTE]
16+
> For security purposes, the default output type will change from a plain text `String` to
17+
> `SecureString`. To prepare for this change and ensure secure handling, use the **AsSecureString**
18+
> parameter before the update takes effect.
1519
1620
## SYNTAX
1721

0 commit comments

Comments
 (0)