Skip to content

PSAvoidUsingUserNameAndPassWordParams should not fire if function/cmdlet has a credential parameter #271

Closed
@splatteredbits

Description

@splatteredbits

My module, Carbon, has some functions written before I knew what I was doing that take in UserName/Password instead of a credential. I plan on adding credential parameters, but because of backwards-comparability, I have to leave the original UserName/Password parameters in place.

I'd like PSAvoidUsingUserNameAndPassWordParams to pass if a function has a credential parameter in addition to UserName/Password.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions