CmdID / az / az batch / az batch account
az batch account login
Log in to a Batch account through Azure Active Directory or Shared Key authentication. Azure CLI reference
2 options Its page in the Azure CLI reference
Options
--shared-key-authUsing Shared Key authentication, if not specified, it will use Azure Active Directory authentication.--showDisplay the credential information for the Batch account.