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

Secrets are not being protected. Do not use -AsPlainText from InputFunctions.ps1 #1086

Open
tmolenh opened this issue Dec 12, 2024 · 0 comments

Comments

@tmolenh
Copy link

tmolenh commented Dec 12, 2024

Reading the documentation for ConvertTo-SecureString should give a good idea of why using -AsPlainText is not a good idea.

Basically, any actual secrets should be encrypted or stored as a [SecureString] at all times. There should never be a point where they are stored as plain text, or else they aren't really secret.

Also, this is an error in PSScriptAnalyzer, so anyone using that can't use this module.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant