google-auth-library-java icon indicating copy to clipboard operation
google-auth-library-java copied to clipboard

p12 how to create ServiceAccountCredentials

Open qiufuzong opened this issue 5 years ago • 1 comments

FileInputStream fileInputStream = new FileInputStream(credPath); ServiceAccountCredentials sourceCredentials = ServiceAccountCredentials .fromStream( new FileInputStream(credPath));

credPath must json , but i have p12

qiufuzong avatar Dec 15 '20 03:12 qiufuzong

Is there a way to use a P12 file? Or today only JSON is supported?

lucasbasquerotto avatar May 18 '22 19:05 lucasbasquerotto