Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Authentication on Google Compute Engine using metadata token #52

Closed
MarkEdmondson1234 opened this issue Nov 21, 2016 · 1 comment
Closed

Comments

@MarkEdmondson1234
Copy link
Owner

If the GCE instance is using googleAuthR packages, let it easily get the token from the metadata of the server as per cloudyr/googleComputeEngineR#27

The instance will only have the scopes it is created with, default is https://www.googleapis.com/auth/cloud-platform e.g. bigQueryR, googleCloudStorageR

Can instances be made with Google Analytics/Search Console scopes for googleAnalyticsR too?

@MarkEdmondson1234
Copy link
Owner Author

If the server has a domain name, then this may work:

Sys.setenv("HTTR_SERVER" = "domainname.com")
## set in google project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant