-
Notifications
You must be signed in to change notification settings - Fork 7.6k
SecureString shouldn't be used warning. #10880
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
Comments
We have to use SecureString for backward compatibility (scripts and public API). |
I am aware of removing SecureString is a breaking change. |
I believe this will be addressed during implementation of @SteveL-MSFT's proposal for secrets handling which is currently in the RFC stage. 🙂 |
@vexx32 yes and no. The SecureString type still exists and we need it to tell PowerShell when to prompt masked input. The Secrets Management module is more about not having plaintext secrets in scripts and also abstracting remote vaults (like Azure KeyVault) making them seamless to use. |
This issue has been marked as answered and has not had any activity for 1 day. It has been closed for housekeeping purposes. |
In the SecureString Class documentation, there is a Warning from the platform-compat team, that Securestring shouldn't be used.
Direct Link to the Warning on Github
I like and used SecureString much in the past.
How do we deal with that?
The text was updated successfully, but these errors were encountered: