Limited Privileges in Provisioning Script

10 views
Skip to first unread message

Mally Mclane

unread,
Jul 29, 2011, 8:28:01 AM7/29/11
to Google Apps Domain Information and Management APIs
Hello,

(Apologies if this is answered already, finding the right search terms
to hit the archive proved difficult!)

We have our scripts ready and able to provision our Google Apps
account - but the only way we can find to authenticate is to embed a
superadmin user/pass in the script - not desirable. We tried creating
a user with limited admin access, but it seems the provisioning api
does not support this.

How else do people manage access for the provisioning scripts they
run?


Best


Mally

Michael Manoochehri

unread,
Jul 29, 2011, 11:31:01 AM7/29/11
to google-app...@googlegroups.com
Hi Mally:

The recommended way to access the Google Apps Provisioning API is to use 3 legged OAuth. This auth method solves the problem of having to share or store valuable administrator passwords. The API currently supports the OAuth 1.0 protocol.

OAuth 1.0 access tokens are long lived, meaning that once you have acquired an access token, you can store it for reuse later in your script.

For more information, check out some of our OAuth related code samples here:

- Michael

Mally Mclane

unread,
Jul 29, 2011, 11:33:56 AM7/29/11
to google-app...@googlegroups.com

Michael,

Thankyou - will look into it.

Mally

> --
> You received this message because you are subscribed to the Google Groups "Google Apps Domain Information and Management APIs" group.
> To view this discussion on the web visit https://groups.google.com/d/msg/google-apps-mgmt-apis/-/Xe5B3oUmKCYJ.
> To post to this group, send email to google-app...@googlegroups.com.
> To unsubscribe from this group, send email to google-apps-mgmt...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/google-apps-mgmt-apis?hl=en.
>
Reply all
Reply to author
Forward
0 new messages