You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would you be willing to support more authentication types? Especially authorized_user?
I wrote a small CLI tool that I like to run locally. It would be much easier to adopt if cloud-storage could leverage the existing authentication of the gcloud command-line tool, which seems to write ~/.config/gcloud/application_default_credentials.json with content like this:
{
"client_id": "...some email",
"client_secret": "...some random string",
"quota_project_id": "...some project id",
"refresh_token": "...some random string",
"type": "authorized_user"
}
Would you be interested in a PR that is able to read this file instead of only ServiceAccounts?
(Skimming through the code, I would probably make ServiceAccount part of an enum that serde distinguishes by the type).
The text was updated successfully, but these errors were encountered:
Sure such a change would definitely be welcome! Although judging from #114 there is also demand for a more comprehensive way to customise authentication than just adding variants to the ServiceAccount data type.
Would you be willing to support more authentication types? Especially
authorized_user
?I wrote a small CLI tool that I like to run locally. It would be much easier to adopt if cloud-storage could leverage the existing authentication of the
gcloud
command-line tool, which seems to write~/.config/gcloud/application_default_credentials.json
with content like this:Would you be interested in a PR that is able to read this file instead of only ServiceAccounts?
(Skimming through the code, I would probably make ServiceAccount part of an enum that serde distinguishes by the type).
The text was updated successfully, but these errors were encountered: