get_certificate_from_publish_settings(publish_settings_path, path_to_write_certificate, subscription_id=None)¶
Writes a certificate file to the specified location. This can then be used to instantiate ServiceManagementService. Returns the subscription ID.
- Path to subscription file downloaded from http://go.microsoft.com/fwlink/?LinkID=301775
- Path to write the certificate file.
- (optional) Provide a subscription id here if you wish to use a specific subscription under the publish settings file.