Skip to content

Remove ConvertTo-SecureString from Examples#8540

Merged
potatoqualitee merged 2 commits intodevelopmentfrom
example
Sep 17, 2022
Merged

Remove ConvertTo-SecureString from Examples#8540
potatoqualitee merged 2 commits intodevelopmentfrom
example

Conversation

@potatoqualitee
Copy link
Member

@potatoqualitee potatoqualitee commented Sep 17, 2022

I will be enforcing a new policy that all Examples must be secure.

I've never been a fan of showing people how to use ConvertTo-SecureString because it's basically suggesting it's okay to type out a plain-text password at the console. If people need it for CI/CD, they can figure it out how to do it securely on other blog sites. Maybe I'll do a dbatools specific guide at some point.

Anyway, this Twitter thread is pure pain.

I've never been a fan of showing people how to do this -- they can figure it out if they need. I'd like to create a new policy that all Examples must be secure.
@potatoqualitee potatoqualitee merged commit 072d54e into development Sep 17, 2022
@potatoqualitee potatoqualitee deleted the example branch September 17, 2022 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments