Specifying principals in Lake Formation - AWS Lake Formation
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

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.

Lake Formation principal formats
Principal Format Use with
User user:subject Enhanced trusted identity propagation with IAM federation or IAM Identity Center
Group group:group-name 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::account-id:role/role-name All grants. Conditions can match IAM tags and session tags.
Identity Store user or group arn:aws:identitystore:::user/user-id, arn:aws:identitystore:::group/group-id 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 IdpUsers without 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.