Secret manager needs GOOGLE_APPLICATION_CREDENTIALS env var
loicmathieu opened this issue · comments
Loïc Mathieu commented
When using secret manager and configuration items loading via sm//my.database.password
for example, if the GOOGLE_APPLICATION_CREDENTIALS
env variable is not set the application fail with
Failed to load config value of type class java.lang.String for: my.database.password
Loïc Mathieu commented
/cc @dzou
Loïc Mathieu commented
Not an issue, I was missing my projectId/serviceAccount settings :(