Overview of Permissions and Agencies
AI DataLake permission configuration uses two mechanisms: IAM authorization and agencies. This section describes what problems permissions and agencies solve and which permissions to configure in different scenarios.
AI DataLake Permission System Overview
| Item | IAM Authorization | Agency |
|---|---|---|
| Scenarios | You can use IAM to grant users permissions to access cloud services, such as AI DataLake and LakeFormation. | When running, AI DataLake must access OBS to read data and access LakeFormation to query metadata. These tasks are performed by AI DataLake on your behalf, and an agency is the authorization you grant to AI DataLake. |
| Issues solved | You can determine which cloud services an IAM user can operate. | Agencies determine whether AI DataLake can access other cloud services on your behalf. |
| Authorization objects | IAM authorization applies to IAM users and user groups. You can create a user group on the IAM console and attach a policy to it. All users in the group automatically inherit the group's permissions. | Agency authorization applies directly to AI DataLake. When creating a service agency on the IAM console, your current account acts as the delegating party, and AI DataLake acts as the delegated party. After the agency is created, AI DataLake can access other authorized cloud services on your behalf. |
| Authorization content | IAM policies define which APIs users can call. For example, DataArtsFabric:workspace:list indicates that the user can call the API to query the AI DataLake workspace list. The policy effect can be Allow or Deny, which controls whether an action is permitted. | An agency policy defines which APIs AI DataLake can call on your behalf. For example, obs:object:GetObject allows AI DataLake to read OBS objects on your behalf. |
| Where to configure | On the IAM console, create a user or user group and configure policies for them. You can select a system policy or create a custom policy. | On the IAM console, create an agency, set the agency type to Cloud service, select AI DataLake as the delegated service, and attach policies to the agency. |
| Typical scenario | Assign permissions to team members to specify who can access AI DataLake. For example, assign the DataArtsFabricReadOnlyPolicy to data analysts and the DataArtsFabricFullPolicy to development engineers. | Allow AI DataLake to read and write OBS data on your behalf. For example, create an agency with an OBS policy attached and select this agency when creating a Spark endpoint. Then, Spark jobs can read and write OBS data. |
IAM Authorization
Authorization is the process of granting IAM users permissions to access cloud services or call specific APIs. Table 2 lists common IAM authorization scenarios in AI DataLake.
| Authorization Direction | Description | Related Link |
|---|---|---|
| Grant permissions to IAM users to access AI DataLake. | Control who can access AI DataLake. | |
| Grant permissions to IAM users to access LakeFormation. | Control who can manage LakeFormation. | Overview of Permission Management for LakeFormation Integration |
Cloud Service Agency
An agency allows AI DataLake to access other cloud services on your behalf. When AI DataLake performs background operations on your behalf, such as reading and writing OBS data, it requires an identity provided by an agency.
Table 3 describes typical agency scenarios for AI DataLake.
| Scenario | Agency Name | Delegation Relationship | Related Link |
|---|---|---|---|
| Allow AI DataLake to obtain the required identity for basic execution when enabling the service. | ai_datalake_admin_trust | You delegate permissions to AI DataLake. | |
| When creating an endpoint, configure a custom agency to allow the endpoint to obtain the identity required to access external cloud services. | Custom agency name | You delegate permissions to the engine endpoint. |
What is your overall rating for this page?
Thank 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