[Feature]: New-AzStorageBlobSASToken New-AzStorageAccountSASToken etc should support -AsSecureString #27110
Labels
feature-request
This issue requires a new behavior in the product in order be resolved.
Description of the new feature
I'm creating a SAS url with New-AzStorageBlobSASToken and writing it to an AKV using Set-AzKeyVaultSecret.
Set-AzKeyVaultSecret expects a securestring, and when it doesn't get one, PowerShell is helpful and prints out the whole value. :-)
The
New-AzStorage*SASToken
powershell cmdlets should support an-AsSecureString
parameter, which changes the return value to a secure string, similar to how Get-AzAccessToken handles it.Proposed implementation details (optional)
No response
The text was updated successfully, but these errors were encountered: