> + * Provides an easy way to pass in credentials using the json-key format.
> + * Just provide the path to the .json file and this extracts and sets
> identity
> + * and credentials from the json.
> + */
> +public class GoogleComputeEngineCredentialSupplierFromJson implements
> Supplier<Credentials>{
> +
> + private Credentials creds;
> +
> + private GoogleComputeEngineCredentialSupplierFromJson(String jsonString){
> + creds = parseJsonKeyString(jsonString);
> + }
> +
> + /**
> + * Function for parsing JSON Key file downloaded from GCP developers
> console.
> + *
> + * @param pathToJsonFile.
This is no longer a path to a file.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/124/files#r23723327