Powershell SDK config - which method to use?

Hey @mcheek,

First things first, please make sure you are updated to the newest version of the CLI.

Next, I would ask that you use the sail env command to configure the environments how you want them, then finish up the environments by adding a PAT token using sail set pat.

There have been several ways the CLI has changed while it’s grown and the main one that drove the 2.0 release was improved handling of the secrets values, the clientID and clientSecret are no longer stored in that YAML configuration file.

Lastly, with all that done you should be able to run the SDK config initialization command. I understand you may have a number of environments, and that can get hectic, I would suggest either running the sail sdk init config with the --env flag representing the environment you want to switch to, or you could create different folders with different config files in each one.

I know this is a little strange given the way Powershell typically works, but SDKs as a whole are usually used in more of a development sense, with .env files representing one environment at a time being the standard.

This was something I have spent a lot of time thinking about and tinkering with to try and get the best experience, but if you have any feedback at all or any suggestions for improvements please do not hesitate to let me know.

You and all the other Ambassadors have been such an amazing source of knowledge and feedback.

Please keep up the amazing work, and let me know if you have any issues or questions about what I outlined above.