You can create an SSH key pair with SSH keys from the Azure portal. However, it will save only the public key, not the private…