Help Center/ AI DataLake/ User Guide/ Making Preparations/ Enabling AI DataLake and Granting Permissions
Updated on 2026-11-06 GMT+08:00

Enabling AI DataLake and Granting Permissions

To use AI DataLake, you must enable the service and grant it permissions to access other cloud services on your behalf. Once authorized, you can perform operations such as creating workspaces and developing jobs in AI DataLake.

This section describes how to enable AI DataLake and configure access authorization for cloud resources.

Prerequisites

You have registered a Huawei Cloud account. For details about account registration, see Signing Up for a Huawei Cloud Account.

Notes and Constraints

Only the tenant account or a sub-account in the Admin user group can authorize access.

Procedure

  1. Authorize AI DataLake to access cloud resources.
    1. Log in to the AI DataLake console.

      The page that automatically appears displays all other cloud service resources that AI DataLake depends on.

      To use AI DataLake, you must authorize it to access other cloud services on your behalf. For details about required permissions, see Table 2.

    2. Select the required agency permissions.
  2. Read and agree to the AI DataLake Service Agreement.

    Read the AI DataLake service terms carefully and agree to the service agreement.

  3. Click Authorize Now.

    After you grant the authorization, the ai_datalake_admin_trust agency is automatically created in IAM. You can view its details and permissions in the agency list on the IAM console.

    For details about the policies included in the agency and the permissions granted by each policy, see AI DataLake Cloud Resource Permissions.

    Do not delete the ai_datalake_admin_trust agency once it is created. Deleting it will change the authorization scope and disrupt related service permissions.

AI DataLake Cloud Resource Permissions

Table 1 AI DataLake cloud resource policy list

Policy Type

Policy Name

Mandatory

Description

Impact of Deselection on the Service

Common Service

AI_DATALAKE_COMMON_POLICY

Yes

Minimum permissions required by an agency.

Required permission verification fails:

  • IAM user information cannot be obtained.
  • OBS buckets and data cannot be read.

LakeFormation Service

AI_DATALAKE_LAKEFORMATION_POLICY

Yes

Permissions required to use LakeFormation capabilities.

Data catalog capabilities are unavailable:

  • Data access permissions cannot be configured.
  • Data governance and access control are unavailable.

Log Tank Service LTS

AI_DATALAKE_LTS_POLICY

Yes

Permissions required to use LTS capabilities.

Troubleshooting and audit tracking are restricted:

  • The LTS service is unavailable.
  • Job logs cannot be recorded or viewed.

Self Service

AI_DATALAKE_SELF_POLICY

Yes

Permissions required to access AI DataLake.

Core data analysis capabilities are unavailable:

  • You cannot create or manage workspaces.
  • SQL queries and analysis are unavailable.
  • You cannot create, view, or cancel jobs.

Operations Management AOM

AI_DATALAKE_AOM_POLICY

No

Permissions required to use Application Operations Management (AOM) capabilities.

O&M and monitoring capabilities are unavailable:

  • Job metrics cannot be reported to AOM.
  • Performance monitoring and alarming via AOM are unavailable.

Distributed Cache Service

AI_DATALAKE_DCS_POLICY

No

Permissions required to use Distributed Cache Service (DCS).

The user's distributed cache services cannot be accessed.

Key Management Service

AI_DATALAKE_DEW_POLICY

No

Permissions required to use Data Encryption Workshop (DEW).

Access to user-managed credentials is unavailable.

DNS Service

AI_DATALAKE_DNS_POLICY

No

Permissions required to use DNS capabilities.

Cross-domain network access is restricted.

  • DNS resolution is unavailable.
  • Custom domain names cannot be accessed.

Object Storage Service OBS

AI_DATALAKE_OBS_POLICY

No

Permissions required to use OBS capabilities.

Data storage and management are restricted:

  • OBS buckets cannot be created or managed via AI DataLake.
  • Objects cannot be uploaded or downloaded.
  • Encryption and lifecycle policies cannot be configured for buckets.

Container Image Service SWR

AI_DATALAKE_SWR_POLICY

No

Permissions required to use SWR capabilities.

Advanced features that depend on specific images are unavailable:

  • Custom images in SWR cannot be used.
  • Custom runtimes cannot be registered or managed.

Virtual Private Cloud VPC

AI_DATALAKE_VPC_POLICY

No

Permissions required to use VPC capabilities.

Network connectivity is restricted:

  • VPC networking features are unavailable.
  • VPCs cannot be configured for workspaces.

VPC Endpoint VPCEP

AI_DATALAKE_VPCEP_POLICY

No

Permissions required to use VPCEP capabilities.

Cross-service network connectivity is restricted:

  • Private networks cannot be connected via VPCEP.
  • Other private network services cannot be accessed.
AI DataLake will create an agency named ai_datalake_admin_trust in IAM. For details about the policies and actions included in this agency, see Table 2.
Table 2 Cloud resource authorization actions for AI DataLake

Policy Type

Policy Name

Action

Mandatory

Description

Common Service

AI_DATALAKE_COMMON_POLICY

iam:agencies:listAgencies: Lists agencies.

iam:roles:getRole: Retrieves the details of a role.

iam:roles:listRoles: Lists roles.

iam:permissions:listRolesForAgency: Lists the roles assigned to an agency.

iam:users:getUser: Retrieves the details of an IAM user.

obs:bucket:ListAllMyBuckets: Lists all buckets.

obs:bucket:ListBucket: Lists buckets.

obs:object:GetObjectVersion: Retrieves the details of an object version.

obs:object:GetObject: Retrieves the details of an object.

Yes

Minimum permissions required by an agency.

LakeFormation Service

AI_DATALAKE_LAKEFORMATION_POLICY

lakeformation:accessTenant:grant: Grants access permissions to a tenant.

lakeformation:access:delete: Revokes access permissions.

lakeformation:access:create: Grants access permissions.

lakeformation:access:describe: Retrieves the details of specific access permissions.

lakeformation:table:describe: Retrieves the details of a table.

lakeformation:credential:describe: Retrieves the details of a credential.

lakeformation:policy:describe: Retrieves the details of a policy.

lakeformation:table:drop: Deletes a table.

lakeformation:table:create: Creates a table.

lakeformation:policy:create: Creates a policy.

lakeformation:database:describe: Retrieves the details of a database.

lakeformation:table:alter: Modifies the properties of a table.

lakeformation:function:describe: Retrieves the details of a function.

lakeformation:catalog:describe: Retrieves the details of a catalog.

lakeformation:database:create: Creates a database.

lakeformation:database:drop: Deletes a database.

lakeformation:function:create: Creates a function.

lakeformation:function:alter: Modifies the properties of a function.

lakeformation:function:drop: Deletes a function.

lakeformation:policy:drop: Deletes a policy.

lakeformation:role:describe: Retrieves the details of a role.

lakeformation:user:describe: Retrieves the details of a user.

lakeformation:transaction:operate: Performs operations on a transaction.

Yes

Permissions required to use LakeFormation capabilities.

Log Tank Service LTS

AI_DATALAKE_LTS_POLICY

lts:groups:get: Retrieves the details of a log group.

lts:groups:list: Lists log groups.

lts:groups:create: Creates a log group.

lts:topics:get: Retrieves the details of a log stream.

lts:topics:list: Lists log streams.

lts:topics:create: Creates a log stream.

Yes

Permissions required to use LTS capabilities.

Self Service

AI_DATALAKE_SELF_POLICY

DataArtsFabric:workspace:list: Lists workspaces.

DataArtsFabric:endpoint:show: Retrieves the details of an endpoint.

DataArtsFabric:endpoint:list: Lists endpoints.

DataArtsFabric:workspace:listRoute: Lists workspace routes.

DataArtsFabric:job:dropJobInstance: Deletes a job instance.

DataArtsFabric:job:listJobInstance: Lists job instances.

DataArtsFabric:workspace:showSession: Retrieves the details of a session.

DataArtsFabric:workspace:listMessagePolicy: Lists message policies.

DataArtsFabric:workspace:executeStatement: Executes a statement.

DataArtsFabric:workspace:showStatementResult: Retrieves the execution results of a statement.

DataArtsFabric:workspace:deleteSqlSession: Deletes a SQL session.

DataArtsFabric:workspace:cancelStatement: Cancels the execution of a statement.

DataArtsFabric:workspace:createSqlSession: Creates a SQL session.

DataArtsFabric:workspace:listSessionStatementRecords: Lists the execution history of statements within a session.

DataArtsFabric:workspace:listSqlSessions: Lists SQL sessions.

DataArtsFabric:workspace:listStatementRecords: Lists the execution history of all statements.

DataArtsFabric:workspace:showSqlSession: Retrieves the details of a SQL session.

DataArtsFabric:workspace:showImage: Views image details.

DataArtsFabric:rayJob:list: Lists RayJob jobs.

DataArtsFabric:sparkJob:list: Lists Spark jobs.

DataArtsFabric:sparkSql:list: Lists SparkSQL jobs.

DataArtsFabric:flinkJob:list: Lists FlinkJob jobs.

DataArtsFabric:federation:show: Retrieves the details of a federation endpoint.

DataArtsFabric:federation:list: Lists federation endpoints.

Yes

Permissions required to access AI DataLake.

Operations Management AOM

AI_DATALAKE_AOM_POLICY

aom:metric:put: Reports metric data.

aom:alarm:put: Reports alarms.

No

Permissions required to use AOM capabilities.

Distributed Cache Service

AI_DATALAKE_DCS_POLICY

dcs:instance:get: Retrieves DCS instance details.

dcs:instance:getConfiguration: Retrieves DCS instance configurations.

dcs:ssl:get: Retrieves SSL certificate details.

dcs:aclaccount:list: Lists ACL accounts.

dcs:instance:list: Lists DCS instances.

dcs:ssl:modify: Modifies DCS instance SSL configurations.

No

Permissions required to use DCS.

Key Management Service

AI_DATALAKE_DEW_POLICY

csms:secret:get: Retrieves key details.

csms:secretVersion:get: Retrieves key version details.

kms:dek:crypto: Encrypts a data key.

kms:dek:decrypt: Decrypts a data key.

No

Permissions required to use DEW.

DNS Service

AI_DATALAKE_DNS_POLICY

dns:zone:get: Retrieves the details of a zone.

dns:zone:create: Creates a zone.

dns:zone:list: Lists zones.

dns:zone:delete: Deletes a zone.

dns:recordset:update: Updates a record set.

dns:recordset:create: Creates a record set.

dns:recordset:delete: Deletes a record set.

dns:recordset:list: Lists record sets.

No

Permissions required to use DNS capabilities.

Object Storage Service OBS

AI_DATALAKE_OBS_POLICY

obs:bucket:CreateBucket: Creates a bucket.

obs:bucket:DeleteBucket: Deletes a bucket.

obs:bucket:PutLifecycleConfiguration: Configures lifecycle rules.

obs:bucket:ListBucketMultipartUploads: Lists in-progress multipart uploads.

obs:bucket:HeadBucket: Checks whether a bucket exists.

obs:bucket:ListAllMyBuckets: Lists all buckets.

obs:bucket:ListBucket: Lists buckets.

obs:bucket:PutEncryptionConfiguration: Configures encryption settings.

obs:bucket:PutBucketObjectLockConfiguration: Configures object lock settings.

obs:object:PutObject: Uploads an object.

obs:object:GetObject: Retrieves the details of an object.

obs:bucket:GetLifecycleConfiguration: Retrieves the details of a lifecycle rule.

obs:object:DeleteObject: Deletes an object.

No

Permissions required to use OBS capabilities.

Container Image Service SWR

AI_DATALAKE_SWR_POLICY

swr:repo:listRepoDomains: Lists image repository organizations.

swr:repo:listRepoTags: Lists the tags associated with images.

swr:repo:createRepoDomain: Creates an image repository.

swr:repo:getRepo: Retrieves the details of an image repository.

swr:system:createLoginSecret: Generates temporary login credentials.

swr:repo:download: Pulls an image from the repository.

No

Permissions required to use SWR capabilities.

Virtual Private Cloud VPC

AI_DATALAKE_VPC_POLICY

vpc:peerings:get: Retrieves VPC peering connection details.

vpc:peerings:create: Creates a VPC peering connection.

vpc:peerings:accept: Accepts a VPC peering connection.

vpc:peerings:delete: Deletes a VPC peering connection.

vpc:peerings:update: Updates a VPC peering connection.

vpc:routes:delete: Deletes a VPC route.

vpc:routes:create: Creates a VPC route.

vpc:routes:list: Lists VPC routes.

vpc:routeTables:get: Retrieves route table details.

vpc:routeTables:update: Updates a route table.

vpc:routeTables:create: Creates a route table.

vpc:routeTables:associate: Associates a route table.

vpc:routeTables:delete: Deletes a route table.

vpc:routeTables:list: Lists route tables.

No

Permissions required to use VPC capabilities.

VPC Endpoint VPCEP

AI_DATALAKE_VPCEP_POLICY

vpcep:epservices:get: Retrieves the details of the VPC Endpoint service.

vpcep:connections:update: Updates connection settings.

vpcep:permissions:update: Updates permission settings.

vpcep:permissions:list: Lists permissions.

vpcep:epserviceDesc:get: Retrieves the description of a VPC endpoint service.

vpcep:endpoints:get: Retrieves the details of a VPC endpoint.

vpcep:endpoints:delete: Deletes a VPC endpoint.

vpcep:endpoints:create: Creates a VPC endpoint.

vpcep:connections:list: Lists VPC endpoint connections.

vpcep:endpoints:list: Lists VPC endpoints.

vpcep:epservices:list: Lists VPC endpoint services.

No

Permissions required to use VPCEP capabilities.