-
Notifications
You must be signed in to change notification settings - Fork 39
Closed
Description
I'm having trouble to get application default credentials to work.
When I call the application default credentials loader directly:
gargle::credentials_app_default()I get the following error message:
Error in open.connection(con, "rb") : cannot open the connection
In addition: Warning messages:
1: In file(txt) :
'raw = FALSE' but '/home/faculty/.config/gcloud' is not a regular file
2: In open.connection(con, "rb") :
cannot open file '/home/faculty/.config/gcloud': it is a directory
gargle appears to be attempting to load ~/.config/gcloud instead of ~/.config/gcloud/application_default_credentials.json.
Could it be that this line
gargle/R/credentials_app_default.R
Line 96 in e54eb9d
| pth <- path_home(".config", "gcloud") |
needs to be changed to?:
pth <- path_home(".config", "gcloud", pth)(Prior to this line pth has been assigned the value "application_default_credentials.json")
Metadata
Metadata
Assignees
Labels
No labels