From 5225a36cbd0b25fb755b0b2493bb1a5e906edf3a Mon Sep 17 00:00:00 2001 From: Ross Scroggs Date: Mon, 19 May 2025 08:03:15 -0700 Subject: [PATCH] Update Cloud-Identity-Devices.md --- wiki/Cloud-Identity-Devices.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/wiki/Cloud-Identity-Devices.md b/wiki/Cloud-Identity-Devices.md index 038785fb..1f19b0d2 100644 --- a/wiki/Cloud-Identity-Devices.md +++ b/wiki/Cloud-Identity-Devices.md @@ -1,4 +1,5 @@ # Cloud Identity Devices +- [Notes](#notes) - [API documentation](#api-documentation) - [Query documentation](#query-documentation) - [Definitions](#definitions) @@ -20,6 +21,15 @@ - [Display device user client state](#display-device-user-client-state) - [Update device user client state](#update-device-user-client-state) +## Notes +These commands use service account access with `admin_email` (if defined) from `gam.cfg` or +the admin from `oauth2.txt` (specified in `gam oauth create`). + +Use `gam user user@domain.com update serviceaccount` and make sure that the following is specified: +``` +[*] 17) Cloud Identity Devices API (supports readonly) +``` + ## API documentation * [Cloud Identity API - Devices](https://cloud.google.com/identity/docs/reference/rest/v1/devices) * [Cloud Identity API - Device Users](https://cloud.google.com/identity/docs/reference/rest/v1/devices.deviceUsers)