New-OctopusKubernetesTarget does not validate that only one authentication mechanism has been provided #7580
Labels
kind/bug
This issue represents a verified problem we are committed to solving
Team
Severity
0
Version
Earliest tried 2022.3.1032 but would be in earlier versions
Latest Version
I could reproduce the problem in the latest build
What happened?
When both
-octopusAccountIdOrName
and-octopusClientCertificateIdOrName
parameters are provided no error is thrown and certificate authentication is picked.Reproduction
-octopusAccountIdOrName
and-octopusClientCertificateIdOrName
parameters.Error and Stacktrace
No response
More Information
No response
Workaround
Only provide a single parameter of either
-octopusAccountIdOrName
or-octopusClientCertificateIdOrName
The text was updated successfully, but these errors were encountered: