-
Notifications
You must be signed in to change notification settings - Fork 6
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
Use gar_set_client() ? #1
Comments
Thanks. Something like this? googleKubernetesR/R/k8s_auth.R Lines 12 to 18 in 592377a
|
No thats a different thing, the Thats opposed to the authentication service JSON (I know) which authenticates a (service) email. I suggest thats done via auto-authentication, but I can submit a pull request for that. Its the latest iteration that works easiest for me, so a workflow is something like: library(googleAuthR)
library(googleKubernetesR)
# sets what GCP the auth will go through
gar_set_client()
# does the actual auth
gar_auth() |
Ok, I think I understand you, though a pull request is very welcome. I'm still just about getting to grips with git so you might have to be patient with me. There's now three ways to authenticate:
This is implemented on the 'Authenticataction' branch. googleKubernetesR/R/k8s_auth.R Lines 14 to 29 in 5fa5eac
|
Just a quick note to bring to attention the
gar_set_client()
function, that lets users download client JSON and I've found easier to work with than settingoptions(googleAuthR.client_id)
etc. - that still works obv but I have designs to include this package in gcloudR which will auto authenticate via that method.The text was updated successfully, but these errors were encountered: