Lego: DNS provider for Google Cloud should accept credentials

Created on 10 Jun 2016  路  5Comments  路  Source: go-acme/lego

The current implementation of the Google Cloud DNS provider only works if a node, where lego is deployed, has node metadata available. However, that's not always possible. So it should also accept CLIENT_ID and CLIENT_SECRET pair for such cases.

Most helpful comment

You can also provide the GOOGLE_APPLICATION_CREDENTIALS env var and have it point to a json credentials file. That's probably what you want ?

All 5 comments

You don't necessarily need node metadata. It also works if gcloud is installed and authenticated.

You can also provide the GOOGLE_APPLICATION_CREDENTIALS env var and have it point to a json credentials file. That's probably what you want ?

@PSG-Luna, yes this solves the problem.

I'll go ahead and close this then. :)

Is this documented anywhere?
I exported GOOGLE_APPLICATION_CREDENTIALS previously for my Cloud SQL Service Account limited to roles/cloudsql.client -- took me a day to figure out why my API calls where coming back 403 Forbidden

Just obtained my certs now though, so thank yous all around 馃槃 !

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lenovouser picture lenovouser  路  5Comments

athanp picture athanp  路  3Comments

onlyjob picture onlyjob  路  3Comments

benjamincudi picture benjamincudi  路  3Comments

lenovouser picture lenovouser  路  5Comments