google-cloud-node icon indicating copy to clipboard operation
google-cloud-node copied to clipboard

Auto handle auth if running on GCE

Open rakyll opened this issue 12 years ago • 3 comments

rakyll avatar Jun 06 '14 15:06 rakyll

How are you going to do this? Environment variables? Can we achieve a similar effect with other nodejs client library?

ryanseys avatar Jun 06 '14 16:06 ryanseys

Can we achieve a similar effect with other nodejs client library?

There is no straightforward way to detect whether you're on GCE rather than making a request to metaserver, we filled an issue to make it easier.

We can achieve the same for the node client once we are sure user wants to authorize the requests with a service account.

On Fri, Jun 6, 2014 at 6:09 PM, Ryan Seys [email protected] wrote:

How are you going to do this? Environment variables? Can we achieve a similar effect with other nodejs client library?

— Reply to this email directly or view it on GitHub https://github.com/GoogleCloudPlatform/gcloud-node/issues/3#issuecomment-45354544 .

Burcu Dogan

rakyll avatar Jun 06 '14 16:06 rakyll

All the glcoud clients should handle this. I will add to the roadmap.

On Fri, Jun 6, 2014 at 9:14 AM, Burcu Dogan [email protected] wrote:

Can we achieve a similar effect with other nodejs client library?

There is no straightforward way to detect whether you're on GCE rather than making a request to metaserver, we filled an issue to make it easier.

We can achieve the same for the node client once we are sure user wants to authorize the requests with a service account.

On Fri, Jun 6, 2014 at 6:09 PM, Ryan Seys [email protected] wrote:

How are you going to do this? Environment variables? Can we achieve a similar effect with other nodejs client library?

— Reply to this email directly or view it on GitHub < https://github.com/GoogleCloudPlatform/gcloud-node/issues/3#issuecomment-45354544>

.

Burcu Dogan

—

Reply to this email directly or view it on GitHub https://github.com/GoogleCloudPlatform/gcloud-node/issues/3#issuecomment-45355020 .

-- You received this message because you are subscribed to the Google Groups "veneer-firehose" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/a/google.com/d/msgid/veneer-firehose/GoogleCloudPlatform/gcloud-node/issues/3/45355020%40github.com https://groups.google.com/a/google.com/d/msgid/veneer-firehose/GoogleCloudPlatform/gcloud-node/issues/3/45355020%40github.com?utm_medium=email&utm_source=footer .

ali afshar + http://google.com/+alihafshar developer relations engineering

selfiebot avatar Jun 06 '14 16:06 selfiebot