dcloud iam roles attach-policyAttach a policy to a role
IAM iam:AttachRolePolicyChanges state
Synopsis
dcloud iam roles 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 roles 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.