HomeClusterLabs Projects

fence_gce: use default credentials from googleapiclient

Description

fence_gce: use default credentials from googleapiclient

There are two ways for performing credentials

  1. google-auth
  2. oauth2client (deprecated)

googleapiclient check which libraries are present in the system and use
the most apropriated one in the order above.

Also keep compatibility with previous version of googleapiclient library

Details

Provenance
Helen Koike <helen.koike@collabora.com>Authored on Apr 27 2018, 12:51 PM
Parents
rFf1b2d114bed9: fence_gce: fix regression - missing import oauth2client.client
Branches
Loading...
Tags
Loading...

Event Timeline