Skip to content
mofcloud

UCloud

Last updated:

Learn how to set up UCloud IAM for Mofis: create global and project-level custom policies, group them in a user group, and add a sub-account with API access and AccessKey credentials.

Steps (37)
  1. Enter to user settings
  2. Click IAM.
  3. Open “Policy Management” in the IAM sidebar.
  4. Click “Create Custom Policy”.
  5. Enter the policy name, for example mofis-global.
  6. Set the policy level to “Global Level”.
  7. Switch to the Mofis app to get the required JSON policy.
  8. Choose “UCloud” to see its required permissions.
  9. Open the “JSON policies” tab.
  10. Click “Copy” to copy the global policy JSON.
  11. Switch back to the UCloud console in Chrome.
  12. Open the “Script Editor” tab.
  13. Paste the JSON into the editor — the policy script fills in
  14. Click “Confirm” to review the policy.
  15. Click “Create Custom Policy” again for the project-level policy.
  16. Enter the name, for example mofis-project. Keep “Project Level”.
  17. Open "Script Editor" — a JSON policy template appears
  18. Switch to Mofis to copy the project-level policy.
  19. Click “Copy” on the project policy JSON.
  20. Return to the UCloud console.
  21. Paste the copied JSON into the editor.
  22. Open “User Group Management”.
  23. Click “Create User Group”.
  24. Enter the group name, for example mofis-group.
  25. Click “Add Policy” for the new group.
  26. Search for “mofis” to find both policies.
  27. Select both mofis policies and move them to the right.
  28. Choose the “Default” project.
  29. Open “User Management”.
  30. Click “Invite Sub Account”.
  31. Enter a user name, for example mofis-reader.
  32. Clear “Console login” and keep “API access” checked.
  33. Click “Confirm” to create the sub-account.
  34. Copy the AccessKey ID and Secret now. The secret is shown only once.
  35. Click “Add to Group” for the new user.
  36. Select the available user group
  37. Click “Confirm” to finish.

Learn how to connect a UCloud account by entering its name, region, Access Key and Secret Key. Then check the first data sync and review the account's costs in Smart Bills.

Steps (12)
  1. Select “UCloud” to add a UCloud account.
  2. Enter an account name.
  3. Open the Region list.
  4. Choose “China”.
  5. Paste your Access Key here.
  6. Paste your Secret Key.
  7. Click “Create” to add the account.
  8. Open “Data Sync” to check the first sync.
  9. Expand the “uc” task to view its sync log.
  10. Open “Smart Bills” to view costs.
  11. Open the account switcher.
  12. Select “uc” to see its costs.