Skip to content

IAM Identity Center (Lake Formation)

An AWS Lake Formation connector can grant access to AWS IAM Identity Center users and groups, not only to IAM roles. People who sign in to AWS through IAM Identity Center, for example users provisioned from Okta, then get the Lake Formation access that Omni policies give their Trust3 AI user or group. Row filter policies apply to them too.

The Identity Center reader, which links Trust3 AI users and groups to Identity Center, is off by default. Turn it on in the IAM Identity Center section of one Lake Formation connector.

Availability

Deployment IAM Identity Center
Runtime Plane - Self-Managed ๐ŸŸข Yes
Runtime Plane - Partially Managed (D2P) ๐ŸŸข Yes
Runtime Plane - Trust3 AI Cloud ๐Ÿ”ด No

Prerequisites

  • The Runtime Plane runs release 9.2.50.1 or later, and Runtime Manager has updated the plane's Omni connector settings since that release, which adds the connector's Ranger settings. Until then every reader run ends RANGER_MISCONFIGURED.
  • IAM Identity Center is integrated with Lake Formation in the AWS account the connector governs (Lake Formation console, IAM Identity Center integration).
  • Users and groups exist in both places with matching identifiers. Each Trust3 AI user must have the same email as the primary email of its Identity Center user, and each Trust3 AI group the same name as its Identity Center group. Syncing both from the same identity provider, for example Okta through UserSync and SCIM, keeps them aligned.
  • The connector's AWS role has these permissions, in addition to the ones in Setup Connector:

    Used for Permissions
    Granting to Identity Center users and groups (every Lake Formation connector that grants to them) sso-directory:DescribeUser, sso-directory:DescribeGroup
    Finding the Identity Center integration lakeformation:DescribeLakeFormationIdentityCenterConfiguration, sso:DescribeInstance
    Reading users and groups (the reader connector) identitystore:ListUsers, identitystore:ListGroups
    Naming the person in access audits (optional) cloudtrail:LookupEvents

    Lake Formation checks sso-directory:DescribeUser and sso-directory:DescribeGroup when it makes the grant. Without them every Identity Center grant fails. cloudtrail:LookupEvents cannot be limited to Lake Formation events: it lets the role read all CloudTrail management events in its regions, so grant it only to the connector that runs the access audit.

  • On a Self-Managed Runtime Plane, the connector's Metadata Service JWT auth token has a write scope. For a Shared connector the field is on the OmniConnector system application. Without a write scope, every reader run ends incomplete.

  • Users query through an AWS service that passes their Identity Center identity to Lake Formation, for example an Amazon Athena workgroup enabled for IAM Identity Center.

Settings

Field Description
Enable IAM Identity Center Checks the account's Lake Formation Identity Center integration on every run, names Identity Center users in access audits, and allows the reader. Off by default. It does not decide whether this connector grants to Identity Center users and groups (see How grants reach Lake Formation).
Identity Center reader This connector reads the identity store's users and groups and links them to Trust3 AI users and groups (see below). Turn it on for one Lake Formation connector per Runtime Plane. Needs Enable IAM Identity Center.
Identity Center home region Region of the Identity Center instance, for example us-east-1. Set it when the instance's home region is not the connector's Lake Formation region. Empty means the instance's primary region, or the Lake Formation region if the instance reports none.
Identity Center run interval How often the connector reads Identity Center: 5m to 24h. Default 10m.
Identity Center run time limit Longest one run may take. It must not exceed the run interval. Empty means the run interval.
Identity Store calls per second / Identity Store calls per run Pace and budget of reading Identity Center. Defaults 10 and 5000. One call reads up to 100 users or groups. A large directory needs a higher budget, and a run time limit long enough for (calls รท calls per second) seconds plus the writes.
CloudTrail regions (Identity Center audit) Regions whose CloudTrail holds the Lake Formation access events, used to name the person in access audits. Empty means the connector's regions.

Saving restarts the connector

These settings are read when the connector starts. Saving them restarts the connector's pod. For a Shared connector that is the shared pod, so every Shared connector on the Runtime Plane is briefly interrupted.

One reader per Runtime Plane

Turn on Identity Center reader on one connector only. A second reader in the same pod is refused (RANGER_MISCONFIGURED). A second reader in another pod is not refused. If that connector uses a different AWS account with its own Identity Center, the two readers read different identity stores and undo each other's work on every run.

To turn the feature off, turn off Enable IAM Identity Center. Turning off Enable IAM Identity Center also turns off Identity Center reader. Turning it off does not remove access: the links already written stay, every Lake Formation connector keeps granting to them, and people later removed from Identity Center keep their access. To remove access as well, remove the users and groups from the policies.

How users and groups are linked

On every run, the reader writes each Identity Center user's id onto the Trust3 AI user with the same email, and each group's id onto the Trust3 AI group with the same name, as the attribute idcID. You can see it under Access Control > Users/Groups/Roles > user or group > Attributes. Policies that name the user or group are then granted in Lake Formation to that Identity Center identity.

For a user or group that one Identity Center user or group matches:

idcID on the Trust3 AI user or group What the reader does Access through its own policies
Missing Writes the Identity Center id (not for a user with an empty first name: give every user a first name) Granted
The matching Identity Center id Nothing Granted
A different value Replaces it with CONFLICT:<old value> None, until an administrator fixes the value
  • A new user or group gets access shortly after the reader's next run, once it exists in both places.
  • When a user or group is deactivated or removed in Identity Center, the next complete run removes its id, and its access is revoked. This needs the reader to be on and its runs to complete; until then, people removed from Identity Center keep their access.
  • If several Trust3 AI users have the same email, for example one created in the portal and one synced from Okta, each one gets the id.
  • The reader never creates users or groups. A user or group with no match gets no Identity Center grant, unless its idcID already holds an Identity Center id (set by hand, or left behind by a rename): that id is still granted, and the reader leaves it alone.
  • A user or group whose name or email Identity Center holds in an unusable form, for example with a hidden formatting character, is skipped. Other users and groups are still linked.

Taking access away

  • To remove a person's Identity Center access, remove them from the policies, or remove or deactivate them in Identity Center (or in the identity provider that feeds it) while the reader is on. Don't edit idcID on a user or group the reader matches: any other value is replaced with CONFLICT:<value> on the next run, which removes its own access and its own row filters until an administrator restores the id, and until that run the new value is granted.
  • A rename does not revoke anything. After a group is renamed or a user's email changes in Identity Center, the old Trust3 AI group or user keeps the id and its grants. If the same person or group should keep access, rename the Trust3 AI group or change the Trust3 AI user's email to match, and the reader keeps the id. To revoke instead, replace its idcID with a value that is not an Identity Center id, for example none. That also removes the user's or group's own row filters, so a group's SELECT that reaches the person is then unfiltered.
  • Deleting the idcID attribute does not revoke access.

Who decides whose access a user or group gets

Changing a Trust3 AI user's email or a group's name, or editing idcID, changes which Identity Center identity receives that user's or group's grants. So does changing emails and names in Identity Center or in the identity provider that feeds it. A Trust3 AI user named exactly arn:aws:identitystore:::user/<id>, or a group named exactly arn:aws:identitystore:::group/<id>, is granted to that Identity Center identity directly, with no idcID. Keep these permissions, the right to create users and groups, and policy authoring, to administrators.

How grants reach Lake Formation

Once a Trust3 AI user or group has an Identity Center id in idcID, every Omni Lake Formation connector in the tenant grants that user's or group's policies to its Identity Center identity, whatever the connector's Enable IAM Identity Center setting. The grant works in each account whose Lake Formation is integrated with that Identity Center instance. In any other account it fails, is not retried, and gives no access. Failed grants show in the Connector Plane UI under Workflows.

Row filters and audits

  • Row filters: an Identity Center user or group with a row filter policy gets SELECT from its own policies only once its row filter is attached in Lake Formation. A member of an Identity Center group can still read every row through the group's SELECT while no row filter of the member's own is attached, for example before the reader has linked the member. Prefer a row filter on the group that grants the SELECT. When you tighten a row filter, the old filter applies until the new one is attached; if Lake Formation refuses the new filter, the old one stays, so check Workflows in the Connector Plane UI. Row filters apply only while the Runtime Plane's row filter setting is on, which is the default.
  • Access audits: when the access audit is on, queries by Identity Center users are normally recorded under the Trust3 AI user's name. The Lake Formation connector form has no access-audit switch in this release; to turn the audit on, contact Trust3 AI Support. Turn it on for only one Lake Formation connector per AWS account.

Security

The reader writes to the Runtime Plane's Ranger with the plane's Ranger administrator account. From release 9.2.50.1, every Omni connector pod on a Self-Managed or D2P Runtime Plane holds that credential, whether or not it uses Identity Center. Keep access to those pods, and the right to edit connectors, their Kubernetes settings and the OmniConnector system application, to administrators. Before upgrading, remove custom properties named connector.ranger.*, management.* or spring.*, and values containing ${ or #{, from every connector and the OmniConnector system application. If you find any after upgrading, remove them and ask Trust3 AI Support to rotate the plane's Ranger administrator password.

Limitations

  • Same AWS account only: Identity Center grants succeed only on resources in an AWS account whose Lake Formation is integrated with the Identity Center instance. Cross-account grants to Identity Center users and groups are not supported.
  • One identity store per tenant: do not connect Lake Formation accounts that use different Identity Center instances in one tenant.
  • Lake Formation integrated in each region: grants to Identity Center users and groups work only in Lake Formation regions that are integrated with the Identity Center instance. This release was tested with the instance's home region equal to the Lake Formation region.
  • About 100,000 Ranger users, or 100,000 Ranger groups: above either, every reader run ends RANGER_LISTING_CAP, and nothing is written or emptied.
  • Deleting a user or group removes it from policies: if a Trust3 AI user or group is deleted and later synced again, it comes back with no policies. Edit the policies to name it again.

Troubleshooting

A failing reader run does not show on the connector form. Check the connector log:

Log line Meaning
identity_center_ranger_synced The run's counts of users and groups written, unchanged, in conflict, cleared and quarantined. The run completed unless an identity_center_run_not_applied outcome=RANGER_PARTIAL line follows.
identity_center_run_not_applied outcome=RANGER_PARTIAL The run did not finish, for example it hit the run time limit, or (detail MDS_LOOKUP_FAILED) the Metadata Service token lacks a write scope (see Prerequisites). What it did is kept, and the next run continues.
identity_center_run_not_applied outcome=INVALID_LISTING The Identity Center listing did not validate, for example it was empty. Nothing was changed.
identity_center_run_not_applied outcome=RANGER_UNAVAILABLE / LISTING_FAILED / NO_STORE Ranger, the Identity Store or the Lake Formation Identity Center integration could not be read, or the listing ran out of time or calls. Nothing was changed.
lakeformation_idc_preflight (WARN) The Identity Center integration check failed. The line names the missing permission or integration.
lakeformation_idc_preflight_hint (WARN) The Identity Center instance could not be read in the Lake Formation region. If its home region is another region, set Identity Center home region.
identity_center_run_not_applied outcome=RANGER_MISCONFIGURED Another connector in the same pod already runs the reader, or the plane hasn't received the connector's Ranger settings yet (see Prerequisites). Otherwise, contact Trust3 AI Support.
identity_center_run_not_applied outcome=RANGER_LISTING_CAP Ranger holds more than about 100,000 users or 100,000 groups. Nothing was written or emptied.
identity_center_ranger_conflict A user or group held a different idcID. It was replaced with CONFLICT:<old value>.
A grant to an Identity Center user or group fails The account's Lake Formation isn't integrated with that Identity Center instance, the id belongs to another identity store, or the connector's role lacks sso-directory:DescribeUser / sso-directory:DescribeGroup. After fixing it, contact Trust3 AI Support to apply the grant again.