If you need to assign different permissions to employees in your organization to access your CSS resources, IAM is a good choice for fine-grained permissions management. IAM provides identity authentication, permissions management, and access control.
If the current account has met your requirements, you do not need to create an independent IAM user for permission management. Then you can skip this section. This will not affect other functions of CSS.
With IAM, you can use your account to create IAM users for your employees and assign permissions to the users to control their access to your resources. IAM is free of charge. You pay only for the resources you purchase.
New IAM users do not have any permissions assigned by default. You need to first add them to one or more groups and attach policies or roles to these groups. The users then inherit permissions from the groups and can perform specified operations on cloud services based on the permissions they have been assigned.
CSS is a project-level service deployed in specific physical regions. Therefore, CSS permissions are assigned to projects in specific regions and only take effect in these regions. If you want the permissions to take effect in all regions, you need to assign the permissions to projects in each region. When accessing CSS, the users need to switch to a region where they have been authorized to use cloud services.
You can use roles and policies to grant users permissions.
Table 1 lists all the system-defined roles and policies supported by CSS.
Role/Policy Name |
Type |
Role/Policy Description |
Dependency |
---|---|---|---|
Elasticsearch Administrator |
System-defined role |
Full permissions for CSS. This role depends on the Tenant Guest and Server Administrator roles in the same project. |
|
CSS FullAccess |
System-defined policy |
Full CSS permissions granted through policies. Users with these permissions can perform all operations on CSS. Some functions depend on corresponding permissions. To use certain functions, you need to enable the dependent permissions in the same project. |
The VPCEndpoint Administrator system role is required for accessing a cluster through a VPC endpoint. Some operations depend on the following permissions:
|
CSS ReadOnlyAccess |
System-defined policy |
Read-only permissions for CSS. Users with these permissions can only view CSS data. Some functions depend on corresponding permissions. To use certain functions, you need to enable the dependent permissions in global services. |
Some operations depend on the following permissions:
|
Table 2 lists the common operations supported by each system permission of CSS. Please choose proper system permissions according to this table.
Operation |
CSS FullAccess |
CSS ReadOnlyAccess |
Elasticsearch Administrator |
Remarks |
---|---|---|---|---|
Creating a cluster |
√ |
x |
√ |
- |
Querying a cluster list |
√ |
√ |
√ |
- |
Querying cluster details |
√ |
√ |
√ |
- |
Deleting a cluster |
√ |
x |
√ |
- |
Restarting a cluster |
√ |
x |
√ |
- |
Expanding cluster capacity |
√ |
x |
√ |
- |
Adding instances and expanding instance storage capacity |
√ |
x |
√ |
- |
Querying tags of a specified cluster |
√ |
√ |
√ |
- |
Querying all tags |
√ |
√ |
√ |
- |
Loading a custom word dictionary |
√ |
x |
√ |
Depends on OBS and IAM permissions |
Querying the status of a custom word dictionary |
√ |
√ |
√ |
- |
Deleting a custom word dictionary |
√ |
x |
√ |
- |
Automatically setting basic configurations of a cluster snapshot |
√ |
x |
√ |
Depends on OBS and IAM permissions |
Modifying basic configurations of a cluster snapshot |
√ |
x |
√ |
Depends on OBS and IAM permissions |
Setting the automatic snapshot creation policy |
√ |
x |
√ |
- |
Querying the automatic snapshot creation policy |
√ |
√ |
√ |
- |
Manually creating a snapshot |
√ |
x |
√ |
- |
Querying the snapshot list |
√ |
√ |
√ |
- |
Restoring a snapshot |
√ |
x |
√ |
- |
Deleting a snapshot |
√ |
x |
√ |
- |
Disabling the snapshot function |
√ |
x |
√ |
- |
Modifying specifications |
√ |
x |
√ |
- |
Scaling in clusters |
√ |
x |
√ |
- |