AWS Certified Cloud Practitioner (CLF-C02) / Security and Compliance

Workforce, customer and cross-account access

Lesson 11 of 42. Open to read. No account needed.

A retailer has two very different login needs. Its operations staff need access to selected AWS accounts. Shoppers need to sign in to the retailer's website and see their own orders. Creating an IAM user for every shopper would confuse application identity with management of cloud infrastructure.

Begin with the audience and the destination. The fact that two systems both display a sign-in form does not make them the same identity problem.

Two Audiences, Separate Access Decisions

A workforce path connects staff identity through IAM Identity Center to assigned AWS account roles. A separate customer path uses a Cognito user pool to issue application tokens, which the application checks along with order ownership.

Two suitable arrangements for this retailer, not exclusive uses of either service. Application tokens are not automatically AWS access credentials.

The staff path ends in assigned AWS access. The shopper path ends in the retailer's application, which still checks what that shopper may see. Neither path means a successful login grants universal permission.

Federation Lets a Trusted System Establish Identity

An identity provider maintains identities and authenticates users. Federation lets another system rely on assertions from that trusted provider instead of requiring a separate long-term password for each destination. The receiving system must be configured to trust the provider and apply the appropriate access rules. Trusting identity is not the same as granting all permissions to everyone in the directory.

IAM Identity Center centralizes workforce access to assigned applications and AWS accounts. It can use identities maintained directly within it or connect to an existing identity source. An organization instance supports AWS account access; an account instance supports a more limited application-use case. For this retailer's multi-account staff access, the organization arrangement is the relevant comparison.

Staff assignments can use permission sets that provision permissions across accounts. The current service also supports assigning existing roles through account access manager. You need not memorize console steps here: understand central identity, explicit assignment and bounded AWS access. Removing a staff member from an assignment is better access administration than passing around a shared permanent key.

Application Users Are a Different Audience

Amazon Cognito supports identity for web and mobile applications. A user pool can manage sign-up/sign-in and issue tokens: signed statements the application or API can validate. It can also connect to external identity providers. Cognito is not limited to retail customers; the application's requirements determine its use.

An identity pool can exchange trusted identity information for temporary AWS credentials with configured roles. User pools and identity pools can work together, but neither automatically requires the other. A website that needs only an authenticated API session does not necessarily need to give the browser AWS credentials.

In the retailer example, a shopper presents a valid application token. The API must still enforce which order belongs to that shopper. Authentication does not decide that an arbitrary order number in a request is theirs. The diagram therefore ends with an ownership check, not simply "login succeeded".

Where Directory Service Fits

A directory organizes identities and related information. AWS Directory Service provides options for workloads needing directory integration, including AWS Managed Microsoft AD and AD Connector for an existing Active Directory. The first provides a managed directory; the second connects supported uses to an existing directory rather than being a new independent user directory.

Directory integration, workforce AWS access and application sign-in are related capabilities, but they are not interchangeable product names. Choose according to whether the requirement is an AD-compatible directory, centralized employee assignments or application-user authentication.

Crossing an AWS Account Boundary

Suppose an operations engineer in one account must inspect a resource in a second account. A cross-account role can avoid giving the engineer a permanent credential from the second account. In the role-assumption arrangement, the destination role must trust the intended source, the source needs permission to assume it, and the resulting role session needs permission for the requested resource operation. Other applicable restrictions still apply.

A trust statement alone does not grant all resource access. Nor does sharing an account's billing relationship establish cross-account authorization.

AWS Resource Access Manager (RAM) is another tool: it shares supported resources with specified accounts or an organization. It is not a password manager and does not copy every resource into each recipient account. Resource owners retain ownership, and sharing permissions and recipient permissions still matter. Some needs use a shared resource; others use an assumed role. These are choices to examine, not a compulsory chain of services.

Check Your Understanding

The retailer wants centralized AWS access for its engineers and self-service website sign-in for shoppers. Which identity arrangements fit those needs? Would a valid shopper token alone justify returning an order selected by any order number? Would adding trust to a cross-account role alone let an engineer read all reports in that account?

Answer and Reasoning

IAM Identity Center fits centralized workforce assignments; Cognito user pools fit application sign-in in this example. The application must also enforce order ownership. A valid token establishes authenticated information, not ownership of every record.

Cross-account role trust is only part of the arrangement. The caller must be allowed to assume the role, and the role session must have the needed report permission within the applicable restrictions. Neither trusted identity nor account association is a substitute for authorization.

References

Sources checked on 24 September 2026.

Study this course with an account

Course access adds revision notes, the Exam Cheat Sheet, saved progress, bookmarks and your own notes.

INR 199 plus 18% GST. 90 days of online access. No auto-renewal.

See course access

This website is operated by VECTAMETRIC EDTECH (OPC) PRIVATE LIMITED, operating as Vectametric.

Corporate Identity Number (CIN): U85499KA2026OPC229822. GSTIN: 29AAMCV8281D1ZS. Registered office: RS NO/38/2A/1 BASTAND, ROAD MAHANTESH NAGAR, Ramdurg, Ramdurg, Belgaum- 591123, Karnataka.

Queries and grievances: Prajval Honnungar, Grievance Officer and Data Protection Contact.

Telephone: +91 94800 09310. Support: support@vectametric.com. Grievances: support@vectametric.com.

Copyright 2026 VECTAMETRIC EDTECH (OPC) PRIVATE LIMITED. All rights reserved.

Vectametric home · Roadmaps · Vecta IT Exams · Vecta Government Exams · Vecta Banking & Finance Exams · Vecta Entrance Exams · About us · Contact · Privacy Policy · Terms and Conditions · No-Refund Policy