Reputation: 1979
I want to double check or consider another ways to set up the privileges that I have for this file.
I've already tried IAM (Identity and Access Management) admin privileges (It has Editor privileges) & I'm using GAE (Google App Engine) with Firebase Admin (It supposed to doesn't matter the Firebase Rules for the full privileges case).
I also have my file under /WEB-INF/.
This is the error on the StackDriver
java.security.AccessControlException: access denied ("java.io.FilePermission" "/WEB-INF/project-blah-firebase-adminsdk-blah-blah.json" "read")
Additional notes
Additional Reference
Upvotes: 0
Views: 53
Reputation: 7438
I have a similar GAE project where I use Maven to manage/deploy my project. Here's what I do:
src/main/resources
directory.InputStream stream = getClass().getClassLoader().getResourceAsStream("service_account.json");
Upvotes: 0