maha-khedr / google-api-dotnet-client

Automatically exported from code.google.com/p/google-api-dotnet-client
Apache License 2.0
0 stars 0 forks source link

Add support for Service Account authentication with JSON Key File #533

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Service account authentication can be done directly with .p12 files or with 
JSON Key files.

Currently, the .NET library only supports .p12 files.   This feature requests 
is to add support for JSON key files

see
https://cloud.google.com/storage/docs/authentication#generating-a-private-key

Some additional references for JSON key files in java and go libraries:

https://code.google.com/p/google-api-java-client/source/browse/google-api-client
/src/main/java/com/google/api/client/googleapis/auth/oauth2/GoogleCredential.jav
a#776
https://github.com/golang/oauth2/issues/20
https://issues.jenkins-ci.org/browse/JENKINS-24571

cross reference with:  
https://code.google.com/p/google-api-dotnet-client/issues/detail?id=280

Original issue reported on code.google.com by salrashi...@gmail.com on 23 Feb 2015 at 7:18