dcloud iam users attach-policyAttach a policy directly to a user
IAM iam:AttachUserPolicyChanges state
Synopsis
dcloud iam users attach-policy id --policy-id policyIdArguments
<id>Requiredstring
Also accepted as
--id. Constraints: uuid
Flags
--policy-idRequiredstring
The ID of the policy to attach, a policy of this organization
Constraints: uuid
Example
dcloud iam users attach-policy id --policy-id 00000000-0000-0000-0000-000000000000Generated from the API description, the same one the API checks requests against and the CLI is built from.