FAQ
Hi,

I've been looking at implementing Google cloud storage (server-to-server)
for one of my projects.

So gove that there's no "user" in this, and in terms of oauth2 there will
be no user token or so, I think I've decrypted I should use JWT. How to do
that (and especially via the Go client APIs).... I'm clueless.

Has anyone done this? The reference case would be:
- I have client id, secret
- I have a file
- store the file in a bucket

It's pretty trivial with Openstack or S3, but I don't "get" how to do it
here.

Any examples/ .... greatly appreciated.

--Maarten

PS: I do see where the pauth2 stuff is extremely useful with user
interactions from devices. But server-to-server is simply not clear to me.

--
You received this message because you are subscribed to the Google Groups "golang-nuts" 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/groups/opt_out.

Search Discussions

  • Kyle Lemons at Sep 26, 2013 at 10:19 pm
    I think what you want is a Service Account:
    https://developers.google.com/accounts/docs/OAuth2ServiceAccount

    On Wed, Sep 25, 2013 at 1:55 AM, Maarten Koopmans wrote:

    Hi,

    I've been looking at implementing Google cloud storage (server-to-server)
    for one of my projects.

    So gove that there's no "user" in this, and in terms of oauth2 there will
    be no user token or so, I think I've decrypted I should use JWT. How to do
    that (and especially via the Go client APIs).... I'm clueless.

    Has anyone done this? The reference case would be:
    - I have client id, secret
    - I have a file
    - store the file in a bucket

    It's pretty trivial with Openstack or S3, but I don't "get" how to do it
    here.

    Any examples/ .... greatly appreciated.

    --Maarten

    PS: I do see where the pauth2 stuff is extremely useful with user
    interactions from devices. But server-to-server is simply not clear to me.

    --
    You received this message because you are subscribed to the Google Groups
    "golang-nuts" 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/groups/opt_out.
    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" 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/groups/opt_out.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-nuts @
categoriesgo
postedSep 25, '13 at 8:55a
activeSep 26, '13 at 10:19p
posts2
users2
websitegolang.org

2 users in discussion

Maarten Koopmans: 1 post Kyle Lemons: 1 post

People

Translate

site design / logo © 2023 Grokbase