google-chat-samples icon indicating copy to clipboard operation
google-chat-samples copied to clipboard

Update java async bot to use default credentials

Open sqrrrl opened this issue 6 years ago • 0 comments

Should use GoogleCredentials.getApplicationDefault() to get the service account, pending fix for googleapis/google-auth-library-java#381 to support createScoped().

Both simplifies deployment and makes it more secure as service account private key is never exposed to anyone.

sqrrrl avatar Nov 20 '19 23:11 sqrrrl