View a markdown version of this page

How the user’s identity reaches your sources - AWS Context

How the user’s identity reaches your sources

The caller’s credentials carry the user’s identity in one of the following ways:

  • IAM Identity Center – The user signs in through IAM Identity Center. For instructions on setting up Identity Center, see IAM Identity Center for workforce users.

  • IAM federation – The user signs in through a corporate identity provider (IdP), such as Okta or Microsoft Entra ID. The IdP federates into IAM through a Security Assertion Markup Language (SAML) or OpenID Connect (OIDC) identity provider that has TIP turned on. For instructions on setting up federation, see SSO federation through corporate IdPs. For more information about the security controls to apply, see Secure federated access to AWS Context.

When AWS Context reads a source, it propagates the user’s TIP session to that source. AWS Context doesn’t evaluate the source’s permissions itself. The source, such as AWS Lake Formation or an Amazon Bedrock Managed Knowledge Base, evaluates them. It can consider both the user and the identity that reads the source: the connection’s data access role, or the caller if the connection has no data access role.

Some credentials, such as IAM role credentials without TIP, don’t carry a user identity, so requests that use them have no user. Connections can’t apply user-level permissions to these requests. For more information about the identity that each connection type requires, and what each returns when it can’t use the identity, see Configure identity.