gws-cloudidentity
提供Google Workspace云身份管理功能,支持对身份资源进行操作,遵循共享认证和安全规则。
npx skills add https://github.com/googleworkspace/cli --skill gws-cloudidentityBefore / After 效果对比
1 组手动在Google Cloud控制台管理用户邀请、设备和身份设置,操作复杂且效率低下,尤其是在大规模用户管理场景下。
使用 `gws cloudidentity` 命令,通过命令行接口管理Cloud Identity资源,例如取消设备擦除、列出用户邀请等,提高了管理效率和自动化能力。
gws-cloudidentity
cloudidentity (v1)
PREREQUISITE: Read ../gws-shared/SKILL.md for auth, global flags, and security rules. If missing, run gws generate-skills to create it.
gws cloudidentity <resource> <method> [flags]
API Resources
customers
userinvitations— Operations on the 'userinvitations' resource
devices
-
cancelWipe— Cancels an unfinished device wipe. This operation can be used to cancel device wipe in the gap between the wipe operation returning success and the device being wiped. This operation is possible when the device is in a "pending wipe" state. The device enters the "pending wipe" state when a wipe device command is issued, but has not yet been sent to the device. The cancel wipe will fail if the wipe command has already been issued to the device. -
create— Creates a device. Only company-owned device may be created. Note: This method is available only to customers who have one of the following SKUs: Enterprise Standard, Enterprise Plus, Enterprise for Education, and Cloud Identity Premium -
delete— Deletes the specified device. -
get— Retrieves the specified device. -
list— Lists/Searches devices. -
wipe— Wipes all data on the specified device. -
deviceUsers— Operations on the 'deviceUsers' resource
groups
-
create— Creates a Group. -
delete— Deletes aGroup. -
get— Retrieves aGroup. -
getSecuritySettings— Get Security Settings -
list— Lists theGroupresources under a customer or namespace. -
lookup— Looks up the resource name of aGroupby itsEntityKey. -
patch— Updates aGroup. -
search— Searches forGroupresources matching a specified query. -
updateSecuritySettings— Update Security Settings -
memberships— Operations on the 'memberships' resource
inboundOidcSsoProfiles
-
create— Creates an InboundOidcSsoProfile for a customer. When the target customer has enabled Multi-party approval for sensitive actions, theOperationin the response will have"done": false, it will not have a response, and the metadata will have"state": "awaiting-multi-party-approval". -
delete— Deletes an InboundOidcSsoProfile. -
get— Gets an InboundOidcSsoProfile. -
list— Lists InboundOidcSsoProfile objects for a Google enterprise customer. -
patch— Updates an InboundOidcSsoProfile. When the target customer has enabled Multi-party approval for sensitive actions, theOperationin the response will have"done": false, it will not have a response, and the metadata will have"state": "awaiting-multi-party-approval".
inboundSamlSsoProfiles
-
create— Creates an InboundSamlSsoProfile for a customer. When the target customer has enabled Multi-party approval for sensitive actions, theOperationin the response will have"done": false, it will not have a response, and the metadata will have"state": "awaiting-multi-party-approval". -
delete— Deletes an InboundSamlSsoProfile. -
get— Gets an InboundSamlSsoProfile. -
list— Lists InboundSamlSsoProfiles for a customer. -
patch— Updates an InboundSamlSsoProfile. When the target customer has enabled Multi-party approval for sensitive actions, theOperationin the response will have"done": false, it will not have a response, and the metadata will have"state": "awaiting-multi-party-approval". -
idpCredentials— Operations on the 'idpCredentials' resource
inboundSsoAssignments
-
create— Creates an InboundSsoAssignment for users and devices in aCustomerunder a givenGrouporOrgUnit. -
delete— Deletes an InboundSsoAssignment. To disable SSO, Create (or Update) an assignment that hassso_mode==SSO_OFF. -
get— Gets an InboundSsoAssignment. -
list— Lists the InboundSsoAssignments for aCustomer. -
patch— Updates an InboundSsoAssignment. The body of this request is theinbound_sso_assignmentfield and theupdate_maskis relative to that. For example: a PATCH to/v1/inboundSsoAssignments/0abcdefg1234567&update_mask=rankwith a body of{ "rank": 1 }moves that (presumably group-targeted) SSO assignment to the highest priority and shifts any other group-targeted assignments down in priority.
policies
-
get— Get a policy. -
list— List policies.
Discovering Commands
Before calling any API method, inspect it:
# Browse resources and methods
gws cloudidentity --help
# Inspect a method's required params, types, and defaults
gws schema cloudidentity.<resource>.<method>
Use gws schema output to build your --params and --json flags.
Weekly Installs568Repositorygoogleworkspace/cliGitHub Stars21.4KFirst Seen14 days agoSecurity AuditsGen Agent Trust HubPassSocketPassSnykPassInstalled onopencode553codex553gemini-cli551github-copilot551cursor551kimi-cli550
用户评价 (0)
发表评价
暂无评价
统计数据
用户评分
为此 Skill 评分