[Feature]: Get-AzAccessToken
- Option to return token as secure string
#24190
Labels
Azure PS Team
customer-reported
feature-request
This issue requires a new behavior in the product in order be resolved.
Tracking
We will track status and follow internally
Milestone
Description of the new feature
Would be great with an option to return access token as secure string with the
Get-AzAccessToken
cmdlet.One use case why?
Connect-MgGraph -AccessToken
requires secure string.ConvertTo-SecureString -AsPlainText
triggersPSScriptAnalyzer
rulePSAvoidUsingConvertToSecureStringWithPlainText
One more reason why?
Proposed implementation details (optional)
Get-AzAccessToken -AsSecureString
The text was updated successfully, but these errors were encountered: