Configuring data lake settings for trusted identity propagation
The following account-level settings control how Lake Formation authorizes requests that carry a user's identity. You
configure them in the IdpSettings of your data lake settings, with the Lake Formation console or the
PutDataLakeSettings operation. The settings apply to all grants to user:,
group:, and IdpUsers principals in the account.
-
Cross-account access (
Scope) – The AWS accounts, organizations, and organizational units (OUs) whose users can access the resources and grants in your account. -
Carrier role permissions (
UseIAMRoleGrants) – Whether Lake Formation combines the carrier role's permissions with the permissions granted to the user and the user's groups.
PutDataLakeSettings replaces your data lake settings. Include your existing settings, such as
DataLakeAdmins, in each request. To see your current settings, run aws lakeformation
get-data-lake-settings.
Allowing access from other accounts
By default, Lake Formation accepts a request that carries a user's identity only when the carrier role is in the
account that owns the Data Catalog. To allow users whose carrier role is in another account, add the account ID, the
organization ARN, or the OU ARN to Scope. When you change Scope, Lake Formation creates or
updates an AWS Resource Access Manager (AWS RAM) resource share with the accounts that you list.
Users from the accounts in Scope receive only the permissions that you grant to their
user:, group:, or IdpUsers principals in your account.
Using only user and group permissions
By default, UseIAMRoleGrants is true. A user's access is the union of the
permissions granted to the carrier role, the user's groups, and the user. For more information, see How Lake Formation combines user and carrier role permissions.
To use only the permissions granted to users and groups, set UseIAMRoleGrants to
false. Lake Formation then ignores the carrier role's permissions for every request that carries a user's
identity in the account. To combine the permissions again, set it to true.
If you move from legacy to enhanced trusted identity propagation, UseIAMRoleGrants is
false by default, so only grants to users and groups apply.