Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: New-AzStorageBlobSASToken New-AzStorageAccountSASToken etc should support -AsSecureString #27110

Open
NaridaL opened this issue Feb 13, 2025 · 0 comments
Labels
feature-request This issue requires a new behavior in the product in order be resolved.

Comments

@NaridaL
Copy link
Contributor

NaridaL commented Feb 13, 2025

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

@NaridaL NaridaL added feature-request This issue requires a new behavior in the product in order be resolved. needs-triage This is a new issue that needs to be triaged to the appropriate team. labels Feb 13, 2025
@microsoft-github-policy-service microsoft-github-policy-service bot removed the needs-triage This is a new issue that needs to be triaged to the appropriate team. label Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request This issue requires a new behavior in the product in order be resolved.
Projects
None yet
Development

No branches or pull requests

1 participant