Help Center> Scalable File Service> User Guide> Permissions Management> Creating a User and Granting SFS Permissions
Updated on 2023-08-04 GMT+08:00

Creating a User and Granting SFS Permissions

This chapter describes how to use IAM to implement fine-grained permissions control for your SFS resources. With IAM, you can:

  • Create IAM users for employees based on your enterprise's organizational structure. Each IAM user will have their own security credentials for accessing SFS resources.
  • Grant only the permissions required for users to perform a specific task.

If your Huawei Cloud account does not require individual IAM users, skip this section.

This section describes the procedure for granting permissions (see Figure 1).

Prerequisites

Learn about the permissions (see System-defined roles and policies) supported by SFS and choose policies or roles according to your requirements.

Restrictions

  • Both system-defined policies and custom policies are supported in SFS Turbo file systems.

Process Flow

Figure 1 Process for granting SFS permissions
  1. Create a user group and assign permissions to it.

    Create a user group on the IAM console, and attach the SFS Turbo ReadOnlyAccess policy to the group.

  2. Create a user and add it to a user group.

    Create a user on the IAM console and add the user to the group created in 1.

  3. Log in and verify permissions.

    Log in to SFS Console using the created user, and verify that the user only has read permissions for SFS.

    • Choose Scalable File Service. Click Create File System on SFS Console. If a message appears indicating that you have insufficient permissions to perform the operation, the SFS Turbo ReadOnlyAccess policy has already taken effect.
    • Choose any other service. If a message appears indicating that you have insufficient permissions to access the service, the SFS Turbo ReadOnlyAccess policy has already taken effect.