powershell-toolkit icon indicating copy to clipboard operation
powershell-toolkit copied to clipboard

Should the cmdlets for FlashArray authentication have the -Credentials parameter? Or global $Creds variable?

Open mikenelson-io opened this issue 4 years ago • 0 comments

This one is up for discussion. I removed the -Credentials parameter from the cmdlets that execute a login to the FA (except for the one cmdlet that needs two sets of credentials). Instead, I added a global $Creds variable that can be defined for use with all the cmdlets in a single PoSH session. Should those cmdlets have that param? Or is a global a better option? Or is both the answer?

mikenelson-io avatar Jul 27 '21 14:07 mikenelson-io