UCloud
1. UCloud IAM Setup for Mofis
Section titled “1. UCloud IAM Setup for Mofis”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)
- Enter to user settings
- Click IAM.
- Open “Policy Management” in the IAM sidebar.
- Click “Create Custom Policy”.
- Enter the policy name, for example mofis-global.
- Set the policy level to “Global Level”.
- Switch to the Mofis app to get the required JSON policy.
- Choose “UCloud” to see its required permissions.
- Open the “JSON policies” tab.
- Click “Copy” to copy the global policy JSON.
- Switch back to the UCloud console in Chrome.
- Open the “Script Editor” tab.
- Paste the JSON into the editor — the policy script fills in
- Click “Confirm” to review the policy.
- Click “Create Custom Policy” again for the project-level policy.
- Enter the name, for example mofis-project. Keep “Project Level”.
- Open "Script Editor" — a JSON policy template appears
- Switch to Mofis to copy the project-level policy.
- Click “Copy” on the project policy JSON.
- Return to the UCloud console.
- Paste the copied JSON into the editor.
- Open “User Group Management”.
- Click “Create User Group”.
- Enter the group name, for example mofis-group.
- Click “Add Policy” for the new group.
- Search for “mofis” to find both policies.
- Select both mofis policies and move them to the right.
- Choose the “Default” project.
- Open “User Management”.
- Click “Invite Sub Account”.
- Enter a user name, for example mofis-reader.
- Clear “Console login” and keep “API access” checked.
- Click “Confirm” to create the sub-account.
- Copy the AccessKey ID and Secret now. The secret is shown only once.
- Click “Add to Group” for the new user.
- Select the available user group
- Click “Confirm” to finish.
2. UCloud Account Setup For Mofis
Section titled “2. UCloud Account Setup For Mofis”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)
- Select “UCloud” to add a UCloud account.
- Enter an account name.
- Open the Region list.
- Choose “China”.
- Paste your Access Key here.
- Paste your Secret Key.
- Click “Create” to add the account.
- Open “Data Sync” to check the first sync.
- Expand the “uc” task to view its sync log.
- Open “Smart Bills” to view costs.
- Open the account switcher.
- Select “uc” to see its costs.