Hi,

I'm successfully using s3ql with Amazon S3 on a Debian Wheezy server and it 
works really well, but I can't figure out how to do the same thing with 
Google Storage. I think I need some help on how to proceed.

I have created a cloud storage bucket on Standard Storage in the Developers 
Console and I believe I need OAuth Authentication, as that seems to be the 
only one supported right now. The s3ql documentation mentions* S3-like 
authentication*, but I can't seem to find this on the Google site. Has that 
been discontinued?

So I created a OAuth Service account like this:

Client ID: random1.apps.googleusercontent.com
Email address: [email protected]
Certificate fingerprint: random2

with a choice of *JSON* and *P12* keys for download. 

Which of the above items do I enter into my ~/.s3ql/authinfo2 file?

For Amazon s3 my working configuration looks similar to this:

[s3]
storage-url: s3://mys3bucket
backend-login: random_xyz [AWS Secret Access Key]
backend-password: random_123 [AWS Secret Access Key]
fs-passphrase: my_own_passphrase

What would be the equivalent configuration for Google Storage OAuth? Are 
there additional steps to get an initial token?

The docs state: "...you need to use oauth2 as the backend login, and a 
valid OAuth2 refresh token as the backend password.
To obtain a refresh token, you can use the s3ql_oauth_client program."

So I suppose the ~/.s3ql/authinfo2 file should look something like this:

[gs] {?}
storage-url: gs{?}://mygooglebucket
backend-login: oauth2
backend-password: [refresh token] {??}
fs-passphrase: my_own_passphrase

I am puzzled as to where I would get the refresh token? Is it like those 
tokens in Google Authenticator which change every 30 seconds? I'm sure I'm 
missing something important here.
I do not have a s3ql_oauth_client script in my version of s3ql on Debian 
Wheezy, but it is present in Jessie (s3ql 2.11.1). Is oauth2 even supported 
in s3ql 1.11.1? 

Chris




-- 
You received this message because you are subscribed to the Google Groups 
"s3ql" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to