function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Francisco Riccomagno 1Francisco Riccomagno 1 

How to connect Salesforce CLI with username and password?

I'm actually having Continuos Integration in place which has been done all manually and custom. We are using ANT to deploy to more than 90 developer sandboxes through it. I'm trying now to move from ANT deployments to the "new" Salesforce CLI. But reading the documentation I can only see 2 ways to log in to the sandboxes through it, which is through a web login or through a connected app. Does anyone know if there is a way to connect through the Salesforce CLI using username and password? Or am I forced tyo create more than 90 secret keys and connected apps to achieve the same I'm getting now with ANT? 
Thank you.
Raj VakatiRaj Vakati
You can create a CLI plugin to do this work 

https://developer.salesforce.com/blogs/2018/05/create-your-first-salesforce-cli-plugin.html
Francisco Riccomagno 1Francisco Riccomagno 1
Thanks Raj, so you are stating that this doesn't work out of the box?
Has anyone created a plugin for this? It sounds like something several developers would use.
Thanks