Scalable File Service Turbo (SFS Turbo)
The Organizations service provides Service Control Policies (SCPs) to set access control policies.
SCPs do not actually grant any permissions to a principal. They only set the permissions boundary for the principal. When SCPs are attached to a member account or an organizational unit (OU), they do not directly grant permissions to that member account or OU. Instead, the SCPs just determine what permissions are available for that member account or the member accounts under that OU.
This section describes the elements used by Organizations SCPs. The elements include actions, resources, and conditions.
For details about how to use these elements to create a custom SCP, see Creating an SCP.
Actions
Actions are specific operations that are allowed or denied in an SCP.
- The Access Level column describes how the action is classified (List, Read, or Write). This classification helps you understand the level of access that an action grants when you use it in an SCP.
- The Resource Type column indicates whether the action supports resource-level permissions.
- You can use a wildcard (*) to indicate all resource types. If this column is empty (-), the action does not support resource-level permissions, and you must specify all resources ("*") in your SCP statements.
- If this column includes a resource type, you must specify the URN in the Resource element of your statements.
- Required resources are marked with asterisks (*) in the table. If you specify a resource in a statement using this action, then it must be of this type.
For details about the resource types defined by SFS Turbo, see Resources.
- The Condition Key column contains keys that you can specify in the Condition element of an SCP statement.
- If the Resource Type column has values for an action, the condition key takes effect only for the listed resource types.
- If the Resource Type column is empty (-) for an action, the condition key takes effect for all resources that action supports.
- If the Condition Key column is empty (-) for an action, the action does not support any condition keys.
For details about the condition keys defined by SFS Turbo, see Conditions.
The following table lists the actions that you can define in SCP statements for SFS Turbo.
Action |
Description |
Access Level |
Resource Type (*: required) |
Condition Key |
---|---|---|---|---|
sfsturbo:shares:createShare |
Grants permission to create SFS Turbo file systems. |
write |
shares * |
|
sfsturbo:shares:deleteShare |
Grants permission to delete SFS Turbo file systems. |
write |
shares * |
|
sfsturbo:shares:getAllShares |
Grants permission to list SFS Turbo file systems. |
list |
- |
|
sfsturbo:shares:getShare |
Grants permission to query SFS Turbo file systems. |
read |
shares * |
|
sfsturbo:shares:extendShare |
Grants permission to expand capacities of SFS Turbo file systems. |
write |
shares * |
|
sfsturbo:shares:updateHpcShare |
Grants permission to update SFS Turbo file systems. |
write |
shares * |
|
sfsturbo:shares:updateShareSecurityGroup |
Grants permission to change the security groups of SFS Turbo file systems. |
write |
shares * |
|
sfsturbo:shares:addTag |
Grants permission to add a tag to an SFS Turbo file system. |
tagging |
shares * |
|
sfsturbo:shares:getTag |
Grants permission to query tags of an SFS Turbo file system. |
read |
shares * |
g:EnterpriseProjectId |
sfsturbo:shares:deleteTag |
Grants permission to delete tags from an SFS Turbo file system. |
tagging |
shares * |
|
sfsturbo:shares:batchResTag |
Grants permission to batch add tags to an SFS Turbo file system. |
tagging |
shares * |
|
sfsturbo:shares:getAllTag |
Grants permission to list all tags of an SFS Turbo file system. |
list |
- |
g:EnterpriseProjectId |
sfsturbo:shares:renameShare |
Grants permission to change SFS Turbo file system names. |
write |
shares * |
|
sfsturbo:shares:createDataRepositoryTask |
Grants permission to create SFS Turbo backup vaults. |
write |
shares * |
|
sfsturbo:shares:deleteDataRepositoryTask |
Grants permission to delete SFS Turbo backup vaults. |
write |
shares * |
|
sfsturbo:shares:getDataRepositoryTask |
Grants permission to query SFS Turbo backup vaults. |
read |
shares * |
|
sfsturbo:shares:getAllDataRepositoryTasks |
Grants permission to list SFS Turbo backup vaults. |
list |
shares * |
|
sfsturbo:shares:getAZInfo |
Grants permission to query the AZ information of the current region. |
read |
- |
- |
sfsturbo:shares:getQuota |
Grants permission to query SFS Turbo quotas. |
read |
- |
- |
sfsturbo:shares:getFlavors |
Grants permission to query the SFS Turbo file system types. |
read |
- |
- |
sfsturbo:shares:checkShareName |
Grants permission to check SFS Turbo file system names. |
read |
- |
- |
sfsturbo:shares:showFsDir |
Grants permission to query directories in SFS Turbo file systems. |
read |
shares * |
|
sfsturbo:shares:deleteFsDir |
Grants permission to delete directories from SFS Turbo file systems. |
write |
shares * |
|
sfsturbo:shares:createFsDirQuota |
Grants permission to configure limits for directories in SFS Turbo file systems. |
write |
shares * |
|
sfsturbo:shares:showFsDirQuota |
Grants permission to query limits of directories in SFS Turbo file systems. |
read |
shares * |
|
sfsturbo:shares:deleteFsDirQuota |
Grants permission to remove limits from directories in SFS Turbo file systems. |
write |
shares * |
|
sfsturbo:shares:updateFsDirQuota |
Grants permission to update limits of directories in SFS Turbo file systems. |
write |
shares * |
|
sfsturbo:shares:batchCreateFsDirQuotas |
Grants permission to batch configure limits for directories in SFS Turbo file systems. |
write |
shares * |
|
sfsturbo:shares:listFsDirQuotas |
Grants permission to list limits of directories in SFS Turbo file systems. |
list |
shares * |
|
sfsturbo:shares:batchDeleteFsDirQuotas |
Grants permission to batch delete limits of directories in SFS Turbo file systems. |
write |
shares * |
|
sfsturbo:shares:batchUpdateFsDirQuotas |
Grants permission to batch update limits of directories in SFS Turbo file systems. |
write |
shares * |
|
sfsturbo:shares:showFsDirUsage |
Grants permission to query usages of directories in SFS Turbo file systems. |
read |
shares * |
|
sfsturbo:shares:createFsAsyncTask |
Grants permission to create asynchronous tasks of SFS Turbo file systems. |
write |
shares * |
|
sfsturbo:shares:showFsAsyncTask |
Grants permission to query details of asynchronous tasks of SFS Turbo file systems. |
read |
shares * |
|
sfsturbo:shares:listFsAsyncTasks |
Grants permission to list asynchronous tasks of SFS Turbo file systems. |
list |
shares * |
|
sfsturbo:shares:deleteFsAsyncTask |
Grants permission to delete asynchronous tasks of SFS Turbo file systems. |
write |
shares * |
|
sfsturbo:shares:createBackendTarget |
Grants permission to add storage backends of SFS Turbo file systems. |
write |
shares * |
|
sfsturbo:shares:showBackendTargetInfo |
Grants permission to query details about storage backends of SFS Turbo file systems. |
read |
shares * |
|
sfsturbo:shares:listBackendTargets |
Grants permission to list storage backends of SFS Turbo file systems. |
list |
shares * |
|
sfsturbo:shares:deleteBackendTarget |
Grants permission to remove storage backends of SFS Turbo file systems. |
write |
shares * |
|
sfsturbo:shares:updateObsTargetPolicy |
Grants permission to modify the auto synchronization policy between SFS Turbo file systems and OBS storage backends. |
write |
shares * |
|
sfsturbo:shares:updateObsTargetAttributes |
Grants permission to modify storage backends of SFS Turbo file systems. |
write |
shares * |
|
sfsturbo:shares:listPermRules |
Grants permission to list permission rules of SFS Turbo file systems. |
list |
shares * |
|
sfsturbo:shares:showPermRule |
Grants permission to query details of permission rules of SFS Turbo file systems. |
read |
shares * |
|
sfsturbo:shares:createPermRule |
Grants permission to create permission rules of SFS Turbo file systems. |
write |
shares * |
|
sfsturbo:shares:updatePermRule |
Grants permission to modify permission rules of SFS Turbo file systems. |
write |
shares * |
|
sfsturbo:shares:deletePermRule |
Grants permission to delete permission rules of SFS Turbo file systems. |
write |
shares * |
|
sfsturbo:shares:showLdap |
Grants permission to query the LDAP configuration of an SFS Turbo file system. |
read |
shares * |
|
sfsturbo:shares:createLdap |
Grants permission to create the LDAP configuration of an SFS Turbo file system. |
write |
shares * |
|
sfsturbo:shares:updateLdap |
Grants permission to modify the LDAP configuration of SFS Turbo file systems. |
write |
shares * |
|
sfsturbo:shares:deleteLdap |
Grants permission to delete the LDAP configuration of an SFS Turbo file system. |
write |
shares * |
|
sfsturbo:shares:getJob |
Grants permission to query details of tasks in SFS Turbo file systems. |
read |
- |
- |
Each API of SFS Turbo usually supports one or more actions. Table 2 lists the supported actions and dependencies.
API |
Action |
Dependencies |
---|---|---|
POST /v1/{project_id}/sfs-turbo/shares |
sfsturbo:shares:createShare |
|
GET /v1/{project_id}/sfs-turbo/shares/detail |
sfsturbo:shares:getAllShares |
- |
GET /v1/{project_id}/sfs-turbo/shares/{share_id} |
sfsturbo:shares:getShare |
- |
DELETE /v1/{project_id}/sfs-turbo/shares/{share_id} |
sfsturbo:shares:deleteShare |
|
POST /v1/{project_id}/sfs-turbo/shares/{share_id}/action |
sfsturbo:shares:extendShare |
|
POST /v1/{project_id}/sfs-turbo/shares/{share_id}/action |
sfsturbo:shares:updateShareSecurityGroup |
|
POST /v1/{project_id}/sfs-turbo/{share_id}/tags |
sfsturbo:shares:addTag |
- |
GET /v1/{project_id}/sfs-turbo/{share_id}/tags |
sfsturbo:shares:getTag |
- |
DELETE /v1/{project_id}/sfs-turbo/{share_id}/tags/{key} |
sfsturbo:shares:deleteTag |
- |
POST /v1/{project_id}/sfs-turbo/{share_id}/tags/action |
sfsturbo:shares:batchResTag |
- |
GET /v1/{project_id}/sfs-turbo/tags |
sfsturbo:shares:getAllTag |
- |
POST /v1/{project_id}/sfs-turbo/shares/{share_id}/action |
sfsturbo:shares:renameShare |
- |
POST /v1/{project_id}/sfs-turbo/shares/{share_id}/fs/{feature}/tasks |
sfsturbo:shares:createFsAsyncTask |
- |
GET /v1/{project_id}/sfs-turbo/shares/{share_id}/fs/{feature}/tasks |
sfsturbo:shares:listFsAsyncTasks |
- |
GET /v1/{project_id}/sfs- turbo/shares/{share_id}/fs/{feature}/tasks/{task_id} |
sfsturbo:shares:showFsAsyncTask |
- |
DELETE /v1/{project_id}/sfs-turbo/shares/{share_id}/fs/{feature}/tasks/{task_id} |
sfsturbo:shares:deleteFsAsyncTask |
- |
POST /v1/{project_id}/sfs-turbo/shares/{share_id}/targets |
sfsturbo:shares:createBackendTarget |
|
GET /v1/{project_id}/sfs-turbo/shares/{share_id}/targets |
sfsturbo:shares:listBackendTargets |
- |
GET /v1/{project_id}/sfs-turbo/shares/{share_id}/targets/{target_id} |
sfsturbo:shares:showBackendTargetInfo |
- |
DELETE /v1/{project_id}/sfs-turbo/shares/{share_id}/targets/{target_id} |
sfsturbo:shares:deleteBackendTarget |
- |
POST /v1/{project_id}/sfs-turbo/{share_id}/hpc-cache/task |
sfsturbo:shares:createDataRepositoryTask |
obs:bucket:headBucket |
GET /v1/{project_id}/sfs-turbo/{share_id}/hpc-cache/task/{task_id} |
sfsturbo:shares:getDataRepositoryTask |
- |
GET /v1/{project_id}/sfs-turbo/{share_id}/hpc-cache/tasks |
sfsturbo:shares:getAllDataRepositoryTasks |
- |
PUT /v1/{project_id}/sfs-turbo/shares/{share_id} |
sfsturbo:shares:updateHpcShare |
- |
POST /v1/{project_id}/sfs-turbo/shares/{share_id}/fs/dir-quota |
sfsturbo:shares:createFsDirQuota |
- |
PUT /v1/{project_id}/sfs-turbo/shares/{share_id}/fs/dir-quota |
sfsturbo:shares:updateFsDirQuota |
- |
GET /v1/{project_id}/sfs-turbo/shares/{share_id}/fs/dir-quota |
sfsturbo:shares:showFsDirQuota |
- |
DELETE /v1/{project_id}/sfs-turbo/shares/{share_id}/fs/dir-quota |
sfsturbo:shares:deleteFsDirQuota |
- |
POST /v1/{project_id}/sfs-turbo/shares/{share_id}/fs/dir |
sfsturbo:shares:createFsDir |
- |
GET /v1/{project_id}/sfs-turbo/shares/{share_id}/fs/dir |
sfsturbo:shares:showFsDir |
- |
DELETE /v1/{project_id}/sfs-turbo/shares/{share_id}/fs/dir |
sfsturbo:shares:deleteFsDir |
- |
GET /v1/{project_id}/sfs-turbo/shares/{share_id}/fs/dir-usage |
sfsturbo:shares:showFsDirUsage |
- |
POST /v1/{project_id}/sfs-turbo/shares/{share_id}/fs/perm-rules |
sfsturbo:shares:createPermRule |
- |
GET /v1/{project_id}/sfs-turbo/shares/{share_id}/fs/perm-rules |
sfsturbo:shares:listPermRules |
- |
GET /v1/{project_id}/sfs-turbo/shares/{share_id}/fs/perm-rules/{rule_id} |
sfsturbo:shares:showPermRule |
- |
PUT /v1/{project_id}/sfs-turbo/shares/{share_id}/fs/perm-rules/{rule_id} |
sfsturbo:shares:updatePermRule |
- |
DELETE /v1/{project_id}/sfs-turbo/shares/{share_id}/fs/perm-rules/{rule_id} |
sfsturbo:shares:deletePermRule |
- |
POST /v1/{project_id}/sfs-turbo/shares/{share_id}/fs/ldap |
sfsturbo:shares:createLdap |
- |
GET /v1/{project_id}/sfs-turbo/shares/{share_id}/fs/ldap |
sfsturbo:shares:showLdap |
- |
PUT /v1/{project_id}/sfs-turbo/shares/{share_id}/fs/ldap |
sfsturbo:shares:updateLdap |
- |
DELETE /v1/{project_id}/sfs-turbo/shares/{share_id}/fs/ldap |
sfsturbo:shares:deleteLdap |
- |
GET /v1/{project_id}/sfs-turbo/jobs/{job_id} |
sfsturbo:shares:getJob |
- |
DELETE /v1/{project_id}/sfs-turbo/{share_id}/hpc-cache/task/{task_id} |
sfsturbo:shares:deleteDataRepositoryTask |
- |
PUT /v1/{project_id}/sfs-turbo/shares/{share_id}/targets/{target_id}/policy |
sfsturbo:shares:updateObsTargetPolicy |
- |
PUT /v1/{project_id}/sfs-turbo/shares/{share_id}/targets/{target_id}/attributes |
sfsturbo:shares:updateObsTargetAttributes |
- |
Resources
A resource type indicates the resources that an SCP policy applies to. If you specify a resource type for any action in Table 3, the resource URN must be specified in the SCP statements using that action, and the SCP applies only to resources of this type. If no resource type is specified, the Resource element is marked with an asterisk (*) and the SCP applies to all resources. You can also set condition keys in an SCP policy to define resource types.
The following table lists the resource types that you can specify in SCP statements for SFS Turbo.
Conditions
A Condition element lets you specify conditions for when an SCP is in effect. It contains condition keys and operators.
- The condition key that you specify can be a global condition key or a service-specific condition key.
- Global condition keys (with the g: prefix) apply to all actions. Cloud services do not need to provide user identity information. Instead, the system automatically obtains such information and authenticates users. For details, see Global Condition Keys.
- Service-specific condition keys (with the abbreviation of a service name plus a colon as the prefix, for example, sfsturbo:) only apply to operations of the SFS Turbo service. For details, see Table 4.
- The number of values associated with a condition key in the request context of an API call makes the condition key single-valued or multivalued. Single-valued condition keys have at most one value in the request context of an API call. Multivalued condition keys can have multiple values in the request context of an API call. For example, a request can originate from at most one VPC endpoint, so g:SourceVpce is a single-valued condition key. You can tag resources and include multiple tag key-value pairs in a request, so g:TagKeys is a multivalued condition key.
- A condition operator, condition key, and a condition value together constitute a complete condition statement. An SCP can be applied only when its request conditions are met. For supported condition operators, see Condition operators.
The following table lists the condition keys that you can define in SCPs for SFS Turbo. You can include these condition keys to specify conditions for when your SCP is in effect.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot