I finally found what works. You create a translate "client" and then pass the credentials to that client.
from google.cloud import translate_v3beta1 as translate
client = translate.TranslationServiceClient(credentials=credentials)
Then you can access the translate_document method of client.