Attach policy to role
bycloud iam roles-policies --role_id <role_id> --policy_id <policy_id> [flags]Attach a policy to a role
Options
--role_id
stringrequiredRole ID
--output
(-o)
stringoptionalOutput format: text, json, or yaml
Values: "text", "json", "yaml"
Default: "text"
Body Options
--policy_id
stringrequiredCommand
bycloud iam roles-policies \--role_id "abc-123" \--policy_id "abc-123"
Output
Success