GoogleEncoder auth unclear #420
-
This may be a dumb question, but I struggle to get the GoogleEncoder to proprly authenticate. I have tried with
Neverthless I get the constant error message:
Would it not be simpler to give the GoogleEncoder an api_key (just as the OpenAIEncoder)? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Resolved. For clarity: |
Beta Was this translation helpful? Give feedback.
Resolved. For clarity:
I am using a service account, which will not be stored in a json directly for CICD reasons. To properly auth, I had to give the SA the aiplatform user role, retrieve current credentials from that SA and initiate aiplatform with these credentials before initing the encoder.