dcloud iam sso-connections set-group-mappingsReplace the IdP group → IAM group mappings
IAM iam:UpdateSsoConnectionChanges stateAsks before it deletes (-y skips)
At every SSO sign-in, membership in each mapped IAM group is set to what the IdP says; memberships added by hand and SCIM-managed groups are never touched. A leading / on a group path is ignored.
Synopsis
dcloud iam sso-connections set-group-mappings id --mappings mappingsArguments
<id>Requiredstring
Also accepted as
--id. Constraints: uuid
Flags
--mappingsRequiredarray of json
Every mapping, as {idpGroup, iamGroupId}: idpGroup as the identity provider sends it (a name, a path, a DN or an object ID); an empty list removes them all
Example
dcloud iam sso-connections set-group-mappings id --mappings '["example"]'Generated from the API description, the same one the API checks requests against and the CLI is built from.