Specifying principals in Lake Formation
When you grant Lake Formation permissions, you identify the grantee in the
DataLakePrincipalIdentifier field. Lake Formation matches each principal format separately. A grant in one
format doesn't apply to the same identity in another format.
| Principal | Format | Use with |
|---|---|---|
| User | user: |
Enhanced trusted identity propagation with IAM federation or IAM Identity Center |
| Group | group: |
Enhanced trusted identity propagation with IAM federation or IAM Identity Center |
| All IdP users, or IdP users whose attributes match a condition | IdpUsers, with an optional Condition |
Enhanced trusted identity propagation. Conditions on user attributes require IAM federation. |
| IAM user or role | arn:aws:iam:: |
All grants. Conditions can match IAM tags and session tags. |
| Identity Store user or group | arn:aws:identitystore:::user/,
arn:aws:identitystore:::group/ |
Legacy trusted identity propagation |
| All IAM principals | IAM_ALLOWED_PRINCIPALS |
Resources where Lake Formation defers to IAM permissions |
The following rules apply to user:, group:, and IdpUsers principals:
-
Lake Formation stores the subject or group name exactly as you enter it, and doesn't validate it when you grant permissions. The value must match the identity in the session exactly.
-
With IAM Identity Center, the subject is the user name in the Identity Store, and the group name is the group's display name.
-
You can't designate these principals as data lake administrators.
-
A grant to
IdpUserswithout a condition applies to every IdP user who can assume a role in your account.
To allow users from other AWS accounts to use these grants, add their accounts to the cross-account settings. For more information, see Allowing access from other accounts.
For more information, see Granting permissions to users and groups.