Prerequisites and considerations for the simplified experience
For most customers, no changes are needed before turning on the simplified experience, and existing workflows continue to function. Review each prerequisite to confirm.
Before you turn on the simplified experience, complete the following prerequisites:
-
Review the general Prerequisites and considerations for trusted identity propagation.
In the simplified experience, only the entry point applications that users sign in to, either customer managed or AWS managed, need an IAM Identity Center application registration. Other AWS services in the trusted identity propagation call chain that support the simplified experience don't. See Analytics and storage services that support the simplified experience.
-
Make sure that the usernames in your IAM Identity Center Identity Store meet the requirements for the Subject key. If a username doesn't meet them, the user can't sign in. See Where the Subject key comes from.
-
If your users access AWS services in more than one AWS Region, use a multi-Region organization instance of IAM Identity Center configured with a multi-Region customer managed KMS key. See Considerations for cross-Region trusted identity propagation.
-
Find any OAuth scopes with authorized targets that you use to control access. See Check your current configuration.
-
If you used OAuth scopes with authorized targets to restrict access, replace them with IAM policies. See Move authorized target scope restrictions to IAM policies.
-
If you run Amazon EMR jobs that use Lake Formation fine-grained access control, update them. See Update Amazon EMR jobs that use Lake Formation fine-grained access control.
-
Make sure that your logging and retention policies allow usernames in AWS CloudTrail events. See Review logging and retention policies.
-
Review where the identity context propagates in your current setup with trusted identity propagation. If your workflows assume roles outside your organization, or in cross-account scenarios where your instance's account isn't part of an organization, the simplified experience doesn't propagate the identity context in those scenarios. Continue to use the legacy experience, or re-architect your workflows, before you turn on the simplified experience. See Where the identity context propagates.
Keep the following considerations in mind:
-
How the simplified experience uses the username. See How the simplified experience uses the username.
-
Which analytics and storage services support the simplified experience. See Analytics and storage services that support the simplified experience.
-
You can't add user and group assignments for downstream AWS services. Existing assignments continue to be honored only in some cases. For those cases, see Where user and group assignments still apply. For more information, see User and group assignments on downstream AWS services.
-
Sessions created before you turn on the simplified experience don't carry the new context keys. See Existing sessions don't carry the new context keys.
-
Configuration that remains in your account. See What remains configured (no action needed).
-
If you use trusted identity propagation with an IAM identity provider. See Trusted identity propagation with an IAM identity provider.
Check your current configuration
Use the IAM Identity Center APIs to review your configuration before you turn on the simplified experience:
-
ListApplications: list IAM Identity Center applications for your instance.
-
ListApplicationAccessScopes: review the OAuth scopes configured on each application.
-
ListApplicationAssignments: review user and group assignments on each application.
If you see only default scopes (for example,
s3:access_grants:read_write, lakeformation:query,
redshift:connect) and no assignments beyond your front-end web
applications, nothing was restricting access beyond what IAM already enforces,
and no additional action is needed. Manually added scopes or authorized targets
are the ones to review and replace. Examples include a scope that you added to
an application with the PutApplicationAccessScope API, or a list of
authorized targets that limits a scope to specific applications, such as an
application that can reach only two Amazon Redshift clusters even though more exist in
the account.
Move authorized target scope restrictions to IAM policies
If you deliberately configured OAuth scopes with authorized targets to restrict which applications can call which services in a propagation chain (application-to-application scoping), those restrictions stop being enforced for identity-propagated requests. Before you turn on the simplified experience:
-
Implement equivalent controls using IAM policies or service native authorization (AWS Lake Formation grants, Amazon S3 Access Grants, Amazon Redshift role-based access control).
-
Review the IAM roles used on those propagation paths. Make sure that each role grants only the access you configured with scopes in the legacy experience. Where a role is broader than the authorized targets were, tighten it to match the access you intend.
-
Validate the equivalent controls in a test IAM Identity Center instance before you turn on the simplified experience in production.
Sample IAM policies
The following examples show how to replace an authorized target scope with
an equivalent resource restriction on the IAM role policy. Replace
service:ActionOne with the actual service action, and
replace the placeholder tag key and value (for example,
aws:ResourceTag/access) or resource ARNs with your own
values. Choose the option that matches how your scoped resources are
identified.
Option 1: the scoped resources share a tag
{ "Version": "2012-10-17", "Statement": [ { "Sid": "AllowScopedByTag", "Effect": "Allow", "Action": "service:ActionOne", "Resource": "*", "Condition": { "StringEquals": { "aws:ResourceTag/access": "authorized" } } } ] }
Option 2: the resources have resource ARNs (recommended)
If the downstream service provides resource ARNs, list them in the
Resource element instead of using "*".
{ "Version": "2012-10-17", "Statement": [ { "Sid": "AllowScopedResources", "Effect": "Allow", "Action": "service:ActionOne", "Resource": ["resource1Arn", "resource2Arn"] } ] }
Update Amazon EMR jobs that use Lake Formation fine-grained access control
In the legacy experience, these jobs are authorized through the external
filtering setting in your Lake Formation integration with IAM Identity Center, where Amazon EMR is added
as an authorized target of the lakeformation:external_filtering
OAuth scope. The simplified experience no longer checks authorized targets.
Instead, Amazon EMR on Amazon EC2 and Amazon EMR on Amazon EKS authorize to Lake Formation with a trusted session tag.
Before you turn on the simplified experience, run these jobs on a release that
supports it and set up the trusted session tag. Otherwise, these jobs lose access to
Lake Formation data.
For the supported releases and the steps, see Migrate from the earlier version of trusted identity propagation in the Amazon EMR Management Guide and Migrate from the earlier version in the Amazon EMR on Amazon EKS Development Guide.
You don't need to make this change for Amazon EMR Serverless. Your existing fine-grained access control setup keeps working after you turn on the simplified experience. For more information, see Migrate from the earlier version of trusted identity propagation in the Amazon EMR Serverless User Guide.
Review logging and retention policies
With the simplified experience, AWS CloudTrail events include usernames, which your organization might treat as personal data. Make sure that your logging and retention policies allow this before you turn on the simplified experience.
Considerations
How the simplified experience uses the username
When you turn on the simplified experience for trusted identity propagation,
IAM Identity Center includes each user's username in the AWS temporary security credentials
for that user's session, as the subject. IAM Identity Center takes this value from the
UserName attribute in your IAM Identity Center Identity Store. You can use the username to manage
access to your AWS resources, for example in IAM policies and data grants,
and AWS can use it to authorize requests, record activity in AWS CloudTrail and service
logs, calculate fees, and enable you to allocate cost to users.
The subject value does not constitute your content, and we recommend that you do not include sensitive, confidential, or personally identifiable information in it. The username travels with each request to the AWS accounts and AWS Regions your users access, and is also processed in default AWS Regions required to fulfill the request.
As a best practice, use an immutable value for the username.
Where the Subject key comes from
The aws:OriginIdentity/Subject key always holds the value of the UserName attribute for the user in your IAM Identity Center Identity Store. The username must meet the following requirements:
It has no more than 128 characters
It contains only letters from any script, numbers, spaces, and the characters
_ . : / = + - @It can't contain an accent written as a separate character, or a vowel sign used in scripts such as Devanagari and Tamil. An accented letter stored as a single character, such as é, is accepted
It doesn't start or end with a space
If a username doesn't meet these requirements, the affected user can't sign in after you turn on the simplified experience. Before you turn on the simplified experience, review the usernames in your IAM Identity Center Identity Store and update any that don't meet the requirements in your identity source.
User and group assignments on downstream AWS services
A downstream AWS service receives the user's identity from a web application or from another service, and can use that identity to authorize access to data. For example, when a user queries data in Amazon SageMaker Unified Studio, AWS Lake Formation and AWS Glue are downstream AWS services. For the services that support the simplified experience, see Analytics and storage services that support the simplified experience.
In the simplified experience, downstream AWS services don't require an IAM Identity Center application registration. Because of this, you can't add user and group assignments for downstream AWS services. Existing assignments continue to be honored only in the cases listed in Where user and group assignments still apply. In other cases, they no longer control access after you turn on the simplified experience. For example, Amazon EMR releases that support the simplified experience stop honoring user and group assignments. If you use assignments on a downstream AWS service to control access, make sure that your IAM policies and the service's own permissions, such as Lake Formation permissions, allow only the access that you intend before you turn on the simplified experience.
You can still use user and group assignments on the web applications that users sign in to, such as Amazon SageMaker Unified Studio. These assignments control who can sign in.
Where user and group assignments still apply
After you turn on the simplified experience, existing user and group assignments continue to be enforced in the following cases.
-
Web applications that users sign in to, such as Amazon SageMaker Unified Studio, Amazon EMR Studio, AWS Quick, and Amazon Redshift Query Editor v2. These assignments control who can sign in.
-
Services that have existing applications with user and group assignments defined:
-
Amazon Redshift: clusters and workgroups that already have an IAM Identity Center application keep enforcing their assignments.
-
Amazon EMR: releases that support only the legacy experience keep honoring user and group assignments. Releases that support the simplified experience keep honoring them until you turn on the simplified experience, and then no longer honor them. For the releases that support each experience, see Simplified trusted identity propagation in the Amazon EMR Management Guide, Simplified trusted identity propagation in the Amazon EMR on Amazon EKS Development Guide, and Simplified trusted identity propagation in the Amazon EMR Serverless User Guide.
-
Amazon Athena: engine version 3 workgroups.
-
Existing sessions don't carry the new context keys
The IAM Identity Center context keys apply only to sessions created after you turn on the simplified experience. Sessions and command line credentials created earlier don't carry them, so a policy that requires the keys denies those requests. Ask users to sign in again before you enforce such policies.
What remains configured (no action needed)
After you turn on the simplified experience, the following remain in your account but have no impact on identity propagation:
-
Application registrations remain visible in the console. For downstream AWS services that support the simplified experience, they are ignored rather than evaluated, except in the cases listed in Where user and group assignments still apply. They are retained so that returning to the legacy experience works.
-
sts:SetContexton roles is no longer required and is safe to leave in place. -
Scope configurations are not enforced for SigV4 identity-propagated requests. Do not remove them if you also use OAuth bearer token flows, because scopes remain enforced for those paths. In an OAuth bearer token flow, an application presents an OAuth access token directly to a service, for example a JDBC or ODBC connection to Amazon Redshift that uses an access token, instead of signing the request with SigV4 credentials.