This image shows the Service Details page, with the Edit button highlighted in red, for choosing a VM Public Key.