Open Shashtsoh opened 8 months ago
I like the idea and would help with the implementation as I refactored the command some time ago.
You would also want to have a config item for that, because the command is often used by other commands.
As it is "the" central command, let's first get feedback from more maintainers.
@potatoqualitee @wsmelton @niphlod
Summarize Functionality
Some environments don't have proper certs on all of their SQL instances for political and/or technical reasons. When automating for an environment with a mix of servers the current options are:
Option 3 is the best of the currently available options, but still requires some annoying code changes that don't feel like they should be necessary. I'm proposing implementing Option 3's logic via a parameter on connect-dbainstance that I'll call AllowTrustServerCertificate. This will maintain all current functionality allowing users to explicitly choose which connection type they want/need, but also give them an option that will do both with one call where either type could be needed.
I've started looking into what changes would be required in connect-dbainstance, but would love some input/feedback on the idea before I get too far down the road.
Is there a command that is similiar or close to what you are looking for?
No
Technical Details
The calls & functionality would look like this