CmdID / az / az sql / az sql db
az sql db show-connection-string
Generates a connection string to a database. Azure CLI reference
2 options Its page in the Azure CLI reference
Options
--auth-type, -aType of authentication.--client, -cType of client connection provider.