I want next: From my website to be able to start virtual server (Ubuntu, linux, windows server). I dit this with AWS and there was simple to find via IAM the access key and token.
I would like to do the same if possible with Azure, to get the access key and token. I found some tutorials on how to like here: https://www.youtube.com/watch?v=ujzrq8Fg9Gc&t=51s but it makes so much things and I just need key token and secret token to be able to access the virtual hosts and manipulate it.
I see there is also oAuth2 and tha is too much to set it up for this project.
there is also so called azure ad https://docs.microsoft.com/en-us/rest/api/
So any help would be nice to find that easy access key key and token to list, create, update virtual machines.
Maybe because I have free account?
Update: I found this one and it is very easy: https://docs.microsoft.com/en-us/rest/api/compute/virtualmachines/createorupdate
just say: PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}?api-version=2017-12-01
subscriptionID if I provide this, would that be enough? I was thinking there should be some authorization?