yes, from CLI user's perspective, User will always provide a file path. Under lib/azure/rest.rb we have made it compulsory for ":azure_mgmt_cert" to have file content. Here this method tries to locate :azure_publish_settings_file, if not found it tries to locate :azure_mgmt_cert (file path) and if found reassigns it with file content otherwise raises an error.