In this series of documentation, will be talking about the way of connecting to Azure Stack. Azure Stack also provides the same capabilities to connect as an Azure.
Azure Stack Portal
Depend on your requirements, you can opt one of them from above.
Azure Stack Portal:
As an Azure portal, Azure Stack portal is one of the general way to access resources. Azure Stack portal is an GUI and have almost all the features included. Whether you are an administrator or an user, the features will be included in Azure Stack portal.
The second way to connect with an Azure Stack is a PowerShell. It always is good to go with PowerShell, as it makes administration easy. You can install Azure Stack compatible PowerShell modules in Internet-connected, partially connected, or disconnected scenarios.
There are certain prerequisites which you can follow before going with Azure Stack PowerShell.
Azure CLI is an command line tool providing a great experience for managing Azure Stack resources. The CLI is designed to make scripting easy, flexibly query data, support long-running operations as non-blocking processes, and more.
You can use the Application Programming Interface (API) to automate operations such as adding a VM to your Azure Stack cloud.
The API requires your client to authenticate to the Microsoft Azure login endpoint. The endpoint returns a token to use in the header of every request sent to the Azure Stack API. Microsoft Azure uses Oauth 2.0.