Reputation: 17540
After authentication with Add-AzureRMAccount
i would like to print out the oauth token to debug its claims.
Is this possible in Azure Powershell?
Upvotes: 2
Views: 70
Reputation: 6255
No, it is not possible.
The output object from Add-AzureRMAccount
only has the following properties:
Even with the -Debug
switch for Add-AzureRMAccount
, the debug messages also do not print out the actual OAuth token, only the token hash is printed out.
Update 1: Tested again with the Microsoft Azure PowerShell January 2016 (1.1.0)
Still only show the token hash.
Upvotes: 1