Jay Lee
0b8fb177c4
Update osx-install.sh
2020-09-16 16:04:57 -04:00
Jay Lee
4e80434956
simple print test for devices
2020-09-16 15:35:08 -04:00
Jay Lee
c2f53577ab
Cloud Identity Devices API, 5.20
2020-09-16 15:33:55 -04:00
Jay Lee
4974150357
Update .travis.yml
2020-09-16 08:12:43 -04:00
Jay Lee
1586d97295
Update .travis.yml
2020-09-15 18:02:16 -04:00
Jay Lee
5f65898c33
fix travis paths
2020-09-15 12:11:53 -04:00
Jay Lee
88e7941db3
fix travis creds
2020-09-15 11:48:31 -04:00
Jay Lee
6c715263e0
svars-write
2020-09-15 11:46:31 -04:00
Jay Lee
7088962d44
redo travis auth setup
2020-09-15 11:40:46 -04:00
Jay Lee
429bb0957d
Update svars-write.py
2020-09-15 09:16:54 -04:00
Jay Lee
424fda55dd
move oauth info earlier
2020-09-14 14:20:17 -04:00
Ross Scroggs
1b26a11281
Complete adminrole commands; add signout and turnoff2sv ( #1237 )
...
* Complete create admintole
* Add update/delete to adminroles
* Update privileges options
* Separate create/update adminrole
* Sdd signout/turnoff2sv commands
* Move signout, turn_off_2sv to new users.py
2020-09-14 12:58:52 -04:00
Jay Lee
56f52c8623
Update .travis.yml
2020-09-14 11:47:07 -04:00
Ross Scroggs
908edff878
Fix error; DASA suggestions ( #1236 )
...
* userKey and customer is an invalid combination; userkey and domain is allowed
* DASA suggestions
I would not use OAUTHFILE to distinguish between normal/DASA, it seems to me that this might lead to oauth2service.json getting deleted by accident.
By using enabledasa.txt you can flip between the two modes easily.
* Update __init__.py
Is this what yuou meant?
2020-09-11 11:33:06 -04:00
Jay Lee
487e1dc4c1
Merge branch 'master' of https://github.com/jay0lee/GAM
2020-09-10 11:36:16 -04:00
Jay Lee
244398e096
Initial support for delegated admin service accounts (DASA)
...
Google now allows GCP service accounts to be granted delegated admin status for a G Suite domain.
To use this, admins can grant the service account email address delegated admin rights in the admin console
and then set some environment variables for GAM to use:
OAUTHFILE=oauth2service.json
GA_DOMAIN=example.com # your primary domain name in Google
CUSTOMER_ID=1d80dfc # admin.google.com > Account > Account settings > Customer ID
2020-09-10 11:25:59 -04:00
Ross Scroggs
fafd9e2bd8
Fix code ( #1232 )
...
* Correct argmument
* Fix code
2020-09-08 11:47:06 -04:00
djeckle
367ea4df39
Fix seats argument reference for resoldsubscription. ( #1233 )
2020-09-08 11:46:28 -04:00
Jay Lee
630abbd0fc
merge cleanup
2020-09-06 09:53:52 -04:00
Jay Lee
fe20428a14
initial support for security and dynamic groups
2020-09-06 09:47:46 -04:00
Jay Lee
0e36681ec1
Update .travis.yml
2020-08-31 10:20:14 -04:00
Ross Scroggs
884cbc52a3
Clean up Cloud Identity groups/Fix get drivefile csvsheet ( #1228 )
...
* Clean up Cloud Identity groups
* Fix issue in get drivefile
Updated code in downloadDriveFile to handle unexpected data in spreadsheetUrl after /edit
```
https://docs.google.com/spreadsheets/d/%3Cdocidhere%3E/edit?ouid=1234567890123456&urlBuilderDomain=mydomain.edu
```
2020-08-27 14:35:48 -04:00
Jay Lee
88c17af8ef
Merge branch 'master' of https://github.com/jay0lee/GAM
2020-08-27 14:33:51 -04:00
Jay Lee
549670e45f
some APIs now using v2 discovery URLs
2020-08-27 14:31:47 -04:00
Jay Lee
4fa0e58e80
Update var.py
2020-08-21 08:42:01 -04:00
Jay Lee
d60b9b2b47
use new DwD page
2020-08-17 12:04:44 -04:00
Ross Scroggs
3368bd3879
Two fixes ( #1226 )
...
* Set maxtasksperchild to help avoid hangs especially on Windows
* Fix function reference
2020-08-11 12:47:03 -04:00
Jay Lee
dbc47c5420
Update .travis.yml
2020-07-20 16:02:04 -04:00
Jay Lee
f86b5a2bf3
Update .travis.yml
2020-07-20 16:01:34 -04:00
Jay Lee
0e0c126726
Python 3.8.4, update PyInstaller commit
2020-07-14 11:37:34 -04:00
Ross Scroggs
45e0e57668
Several fixes ( #1218 )
...
Have create project use http object that uses CA_FILE
Fix calls to functions in new source modules
Put deprovisionupgradetransfer back
2020-07-02 04:38:40 -04:00
Jay Lee
7ee1edbab8
fix line end
2020-06-28 20:36:28 -04:00
Jay Lee
747ad9f29a
fix test create/show unicode labels
2020-06-28 19:45:20 -04:00
Jay Lee
7e128dc6c3
yet another patchelf correction
2020-06-28 19:20:14 -04:00
Jay Lee
5e1352077a
one more for patchelf
2020-06-28 19:13:37 -04:00
Jay Lee
22fc54b2fa
fix patchelf download/extract
2020-06-28 19:02:24 -04:00
Jay Lee
b67e068991
fix bonehead mistake
2020-06-28 18:42:24 -04:00
Jay Lee
40f5bb07d8
fix gs objects
2020-06-28 18:38:27 -04:00
Jay Lee
c1063d1967
Initial CloudIdentity Groups work, more APIs to own files
2020-06-28 17:26:21 -04:00
Ross Scroggs
964cd19949
Update CrOS actions ( #1217 )
2020-06-27 12:31:03 -04:00
Jay Lee
f55305a800
action deprovision_upgrade_transfer
2020-06-24 11:11:45 -04:00
Ross Scroggs
8392856ec5
Move trap statement up so it is seen before any exit command ( #1215 )
2020-06-24 08:16:23 -04:00
Jay Lee
01e1551838
move domain functions to own file
2020-06-19 19:34:34 -04:00
Jay Lee
d3f042433d
move asps, domainaliases functions to own file
2020-06-19 19:07:51 -04:00
Jay Lee
0e5635cc2a
fix project creation for @gmail.com accounts
2020-06-18 11:17:46 -04:00
Jay Lee
73677544a3
GAM 5.11
v5.11
2020-06-17 14:21:49 -04:00
Jay Lee
7c46d8548e
servicemanagement API to serviceusage API
2020-06-17 13:30:08 -04:00
Ross Scroggs
186381426a
Update GamCommands.txt ( #1211 )
2020-06-06 09:35:24 -04:00
Ross Scroggs
af1e695661
Clean up csvtest ( #1209 )
...
Let your formatter redo 13382/13386, I don't understand its rules
2020-06-05 13:37:44 -04:00
Jay Lee
4ccd51269a
Support base64-sha1 and base64-md5 user passwords
...
This allows pulling md5 and sha-1 passwords stored in OpenLDAP format into G Suite. This example commands set user password to "helloworld".
gam update user user@example.com password "{SHA}at+xg6SiyUovktq1redipHiJpaE=" base64-sha1
2020-06-04 15:59:06 -04:00