# azure.servicemanagement.publishsettings module

`azure.servicemanagement.publishsettings.``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.

  publish_settings_path:
    Path to subscription file downloaded from http://go.microsoft.com/fwlink/?LinkID=301775
  path_to_write_certificate:
    Path to write the certificate file.
  subscription_id:
    (optional) Provide a subscription id here if you wish to use a specific subscription under the publish settings file.