code: def __get_ssh_credentials(vm_):
      '''
      Get configured SSH credentials.
      '''
      ssh_user = config.get_cloud_config_value(
          'ssh_username', vm_, __opts__, default=os.getenv('USER'))
      ssh_key = config.get_cloud_config_value(
          'ssh_keyfile', vm_, __opts__,
          default=os.path.expanduser('~/.ssh/google_compute_engine'))
      return ssh_user, ssh_kef __get_ssh_credentials(vm_):
      '''
      Get configured SSH credentials.
      '''
      ssh_user = config.get_cloud_config_value(
          'ssh_username', vm_, __opts__, default=os.getenv('USER'))
      ssh_key = config.get_cloud_config_value(
          'ssh_keyfile', vm_, __opts__,
          default=os.path.expanduser('~/.ssh/google_compute_engine'))
      return ssh_user, ssh_key
docs: Get configured SSH credentials.