You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# The user name to fetch roles for
[Parameter(Position=1,Mandatory=$True,ValueFromPipelineByPropertyName=$true,ParameterSetName='ByName')]
[string]$AuthenticatedUser,
It causes a Warning:
PSAvoidUsingPlainTextForPassword: Parameter '$AuthenticatedUser' should use SecureString, otherwise this will expose sensitive information. See ConvertTo-SecureString for more information.
This isn't a password. It's a USER NAME. Go Away.
The text was updated successfully, but these errors were encountered:
This is due to the way the rule has been built as it looks for "Auth" in any of the parameters and if it is of a string type will throw this Warning
However I will submit a PR to remove this as I agree that Auth shouldnt really be in list of keywords it searches for - the rest however I think are about right
I have this parameter in one of my functions:
It causes a Warning:
This isn't a password. It's a USER NAME. Go Away.
The text was updated successfully, but these errors were encountered: