[{"data":1,"prerenderedAt":385},["ShallowReactive",2],{"practiceExams":3,"studies":184,"free-lesson-\u002Fcourses\u002Faws-certified-solutions-architect-associate\u002Flessons\u002Famazon-cognito-identity-pools-and-aws-credentials-saa-c03":185},[4,22,36,48,60,72,84,97,109,120,130,141,154,163,175],{"id":5,"slug":6,"description":7,"questionCount":8,"isActive":9,"datePublicModified":10,"difficulty":11,"examVersion":18},22,"aws-certified-solutions-architect-professional-sap-c03","Prepare for the AWS Certified Solutions Architect - Professional (SAP-C03) exam with realistic practice questions on architecture, security, cost, resilience and automation, with detailed explanations.",767,true,"2026-11-15T00:00:00.000Z",{"providerId":12,"title":13,"subtitle":14,"slug":15,"coverImageUrl":16,"level":17},1,"AWS Certified Solutions Architect - Professional","SAP-C02","aws-certified-solutions-architect-professional","\u002Fimages\u002Fdifficulties\u002Faws-certified-solutions-architect-professionalsap-c02\u002Fcovers\u002Faws-SAP-C02.png","advanced",{"slug":6,"code":19,"dateBetaStart":20,"dateReleased":21,"pageSlug":15},"SAP-C03",null,"2026-11-17",{"id":23,"slug":24,"description":25,"questionCount":26,"isActive":9,"datePublicModified":27,"difficulty":28,"examVersion":34},5,"aws-certified-cloud-practitioner-clf-c02","Master your AWS Certified Cloud Practitioner exam with our Practice Exam Simulator. Prepare effectively and assess your readiness with realistic practice exams designed to mirror the most popular official AWS exam.",937,"2026-10-30T00:00:00.000Z",{"providerId":12,"title":29,"subtitle":30,"slug":31,"coverImageUrl":32,"level":33},"AWS Certified Cloud Practitioner","CLF-C02","aws-certified-cloud-practitioner","\u002Fimages\u002Fdifficulties\u002Faws-certified-cloud-practitionerclf-c02\u002Fcovers\u002Faws-CLF-C02.png","foundational",{"slug":24,"code":30,"dateBetaStart":20,"dateReleased":35,"pageSlug":31},"2023-09-19",{"id":37,"slug":38,"description":39,"questionCount":40,"isActive":9,"datePublicModified":27,"difficulty":41,"examVersion":46},8,"aws-certified-devops-engineer-professional-dop-c02","Boost your readiness for the AWS Certified DevOps Engineer - Professional (DOP-C02) exam with our practice exam simulator. Featuring realistic questions and detailed explanations, it helps you identify knowledge gaps and improve your skills.",1040,{"providerId":12,"title":42,"subtitle":43,"slug":44,"coverImageUrl":45,"level":17},"AWS Certified DevOps Engineer - Professional","DOP-C02","aws-certified-devops-engineer-professional","",{"slug":38,"code":43,"dateBetaStart":20,"dateReleased":47,"pageSlug":44},"2023-03-07",{"id":49,"slug":50,"description":51,"questionCount":52,"isActive":9,"datePublicModified":27,"difficulty":53,"examVersion":57},11,"aws-certified-ai-practitioner-aif-c01","Prepare for the AWS Certified AI Practitioner exam with our practice exam simulator. Realistic questions on AI, machine learning and generative AI fundamentals, with detailed explanations, help you find your knowledge gaps and assess your readiness.",928,{"providerId":12,"title":54,"subtitle":55,"slug":56,"coverImageUrl":45,"level":33},"AWS Certified AI Practitioner","AIF-C01","aws-certified-ai-practitioner",{"slug":50,"code":55,"dateBetaStart":58,"dateReleased":59,"pageSlug":56},"2024-08-13","2024-10-22",{"id":12,"slug":61,"description":62,"questionCount":63,"isActive":9,"datePublicModified":27,"difficulty":64,"examVersion":70},"aws-certified-solutions-architect-associate-saa-c03","Unlock your potential with the AWS Certified Solutions Architect - Associate Practice Exam Simulator. This comprehensive tool is designed to prepare you thoroughly and assess your readiness for the most sought-after AWS associate certification.",1203,{"providerId":12,"title":65,"subtitle":66,"slug":67,"coverImageUrl":68,"level":69},"AWS Certified Solutions Architect - Associate","SAA-C03","aws-certified-solutions-architect-associate","\u002Fimages\u002Fdifficulties\u002Faws-certified-solutions-architect-associatesaa-c03\u002Fcovers\u002Faws-SAA-C03.png","associate",{"slug":61,"code":66,"dateBetaStart":20,"dateReleased":71,"pageSlug":67},"2022-08-30",{"id":73,"slug":74,"description":75,"questionCount":76,"isActive":9,"datePublicModified":27,"difficulty":77,"examVersion":81},9,"aws-certified-data-engineer-associate-dea-c01","Prepare for your AWS Certified Data Engineer - Associate exam with our practice exam simulator. Featuring real exam scenarios, detailed explanations, and instant feedback to boost your confidence and success rate.",891,{"providerId":12,"title":78,"subtitle":79,"slug":80,"coverImageUrl":45,"level":69},"AWS Certified Data Engineer - Associate","DEA-C01","aws-certified-data-engineer-associate",{"slug":74,"code":79,"dateBetaStart":82,"dateReleased":83,"pageSlug":80},"2023-11-27","2024-03-12",{"id":85,"slug":86,"description":87,"questionCount":88,"isActive":9,"datePublicModified":89,"difficulty":90,"examVersion":94},17,"aws-certified-generative-ai-developer-professional-aip-c01","Get ready for the AWS Certified Generative AI Developer - Professional exam with our practice exam simulator. Realistic scenario-based questions with detailed explanations help you assess your readiness to build generative AI solutions on AWS.",982,"2026-10-29T00:00:00.000Z",{"providerId":12,"title":91,"subtitle":92,"slug":93,"coverImageUrl":45,"level":17},"AWS Certified Generative AI Developer - Professional","AIP-C01","aws-certified-generative-ai-developer-professional",{"slug":86,"code":92,"dateBetaStart":95,"dateReleased":96,"pageSlug":93},"2025-11-28","2026-03-17",{"id":98,"slug":99,"description":100,"questionCount":101,"isActive":9,"datePublicModified":89,"difficulty":102,"examVersion":107},13,"aws-certified-security-specialty-scs-c03","Advance your career in cloud security with the AWS Certified Security - Specialty (SCS-C03) Exam Simulator. Realistic, scenario-based practice exams mirror the official exam, with detailed explanations to close your knowledge gaps.",864,{"providerId":12,"title":103,"subtitle":104,"slug":105,"coverImageUrl":106,"level":17},"AWS Certified Security - Specialty","SCS-C03","aws-certified-security-specialty","\u002Fimages\u002Fdifficulties\u002Faws-certified-security-specialtyscs-c02\u002Fcovers\u002Faws_SCS_c02.png",{"slug":99,"code":104,"dateBetaStart":20,"dateReleased":108,"pageSlug":105},"2025-12-01",{"id":110,"slug":111,"description":112,"questionCount":113,"isActive":9,"datePublicModified":89,"difficulty":114,"examVersion":118},19,"aws-certified-machine-learning-engineer-associate-mla-c02","Prepare for the AWS Certified Machine Learning Engineer - Associate exam with our practice exam simulator. Realistic questions with detailed explanations help you find your knowledge gaps and assess your readiness to build and run ML workloads on AWS.",861,{"providerId":12,"title":115,"subtitle":116,"slug":117,"coverImageUrl":45,"level":69},"AWS Certified Machine Learning Engineer - Associate","MLA-C02","aws-certified-machine-learning-engineer-associate",{"slug":111,"code":116,"dateBetaStart":119,"dateReleased":20,"pageSlug":117},"2026-09-29",{"id":121,"slug":122,"description":123,"questionCount":124,"isActive":9,"datePublicModified":89,"difficulty":125,"examVersion":129},15,"aws-certified-ai-business-strategist-aib-c01","Prepare for the AWS Certified AI Business Strategist exam with our practice exam simulator. Realistic, scenario-based questions with detailed explanations help you assess your readiness to lead AI adoption on AWS and close your knowledge gaps.",848,{"providerId":12,"title":126,"subtitle":127,"slug":128,"coverImageUrl":45,"level":33},"AWS Certified AI Business Strategist","AIB-C01","aws-certified-ai-business-strategist",{"slug":122,"code":127,"dateBetaStart":119,"dateReleased":20,"pageSlug":128},{"id":131,"slug":132,"description":133,"questionCount":134,"isActive":9,"datePublicModified":89,"difficulty":135,"examVersion":139},21,"aws-certified-cloudops-engineer-associate-soa-c03","Prepare for the AWS Certified CloudOps Engineer - Associate exam with our practice exam simulator. Realistic questions with detailed explanations help you assess your readiness to deploy, operate and troubleshoot workloads on AWS.",862,{"providerId":12,"title":136,"subtitle":137,"slug":138,"coverImageUrl":45,"level":69},"AWS Certified CloudOps Engineer - Associate","SOA-C03","aws-certified-cloudops-engineer-associate",{"slug":132,"code":137,"dateBetaStart":20,"dateReleased":140,"pageSlug":138},"2025-09-30",{"id":142,"slug":143,"description":144,"questionCount":145,"isActive":9,"datePublicModified":146,"difficulty":147,"examVersion":151},10,"aws-certified-advanced-networking-specialty-ans-c01","The AWS Certified Advanced Networking - Specialty practice exam simulates the real test, offering scenario-based questions that assess your ability to design, implement, and troubleshoot complex AWS networking solutions. ",681,"2024-11-13T00:00:00.000Z",{"providerId":12,"title":148,"subtitle":149,"slug":150,"coverImageUrl":45,"level":17},"AWS Certified Advanced Networking - Specialty","ANS-C01","aws-certified-advanced-networking-specialty",{"slug":143,"code":149,"dateBetaStart":152,"dateReleased":153,"pageSlug":150},"2022-01-01","2022-07-12",{"id":155,"slug":156,"description":157,"questionCount":158,"isActive":9,"datePublicModified":159,"difficulty":160,"examVersion":161},6,"aws-certified-solutions-architect-professional-sap-c02","Elevate your career with the AWS Certified Solutions Architect - Professional Exam Simulator. Get ready to ace the most popular Professional AWS exam with our realistic practice exams. Assess your readiness, boost your confidence, and ensure your success.",789,"2024-06-06T00:00:00.000Z",{"providerId":12,"title":13,"subtitle":14,"slug":15,"coverImageUrl":16,"level":17},{"slug":156,"code":14,"dateBetaStart":20,"dateReleased":162,"pageSlug":20},"2022-11-15",{"id":164,"slug":165,"description":166,"questionCount":167,"isActive":9,"datePublicModified":159,"difficulty":168,"examVersion":173},4,"aws-certified-developer-associate-dva-c02","Unlock your potential as a software developer with the AWS Certified Developer - Associate Exam Simulator! Prepare thoroughly with realistic practice exams designed to mirror the official exam.",399,{"providerId":12,"title":169,"subtitle":170,"slug":171,"coverImageUrl":172,"level":69},"AWS Certified Developer - Associate","DVA-C02","aws-certified-developer-associate","\u002Fimages\u002Fdifficulties\u002Faws-certified-developer-associatedva-c02\u002Fcovers\u002Faws-DVA-C02.png",{"slug":165,"code":170,"dateBetaStart":20,"dateReleased":174,"pageSlug":171},"2023-02-28",{"id":176,"slug":177,"description":178,"questionCount":179,"isActive":9,"datePublicModified":159,"difficulty":180,"examVersion":181},7,"aws-certified-security-specialty-scs-c02","Advance your career in cloud cybersecurity with the AWS Certified Security - Specialty Exam Simulator! Tailored for professionals, this tool offers realistic practice exams to mirror the official exam.",5431,{"providerId":12,"title":103,"subtitle":104,"slug":105,"coverImageUrl":106,"level":17},{"slug":177,"code":182,"dateBetaStart":20,"dateReleased":183,"pageSlug":20},"SCS-C02","2023-07-11",[],{"slug":186,"title":187,"focus":188,"level":69,"components":189,"diagrams":217,"steps":251,"dateModified":380,"course":381,"nextLesson":382},"amazon-cognito-identity-pools-and-aws-credentials-saa-c03","Amazon Cognito: identity pools and AWS credentials","How identity pools exchange authenticated or guest identities for temporary AWS credentials scoped by IAM roles.",[190,196,200,204,208,212],{"key":191,"kind":192,"name":193,"icon":194,"provider":195},"amazon-cognito","service","Amazon Cognito","\u002Fimages\u002Fprovider-services\u002Famazon-cognito\u002Fcovers\u002FArch_Amazon-Cognito_64.png","AWS",{"key":197,"kind":192,"name":198,"icon":199,"provider":195},"aws-identity-and-access-management-(iam)","AWS Identity and Access Management (IAM)","\u002Fimages\u002Fprovider-services\u002Faws-identity-and-access-management-(iam)\u002Fcovers\u002FArch_AWS-Identity-and-Access-Management_64.png",{"key":201,"kind":192,"name":202,"icon":203,"provider":195},"aws-secrets-manager","AWS Secrets Manager","\u002Fimages\u002Fprovider-services\u002Faws-secrets-manager\u002Fcovers\u002FArch_AWS-Secrets-Manager_64.png",{"key":205,"kind":192,"name":206,"icon":207,"provider":195},"aws-security-token-service-(aws-sts)","AWS Security Token Service (AWS STS)","\u002Fimages\u002Fprovider-services\u002Faws-security-token-service-(aws-sts)\u002Fcovers\u002FRes_AWS-Identity-Access-Management_AWS-STS-Alternate_48.png",{"key":209,"kind":192,"name":210,"icon":211,"provider":195},"aws-tools-and-sdks","AWS Tools and SDKs","\u002Fimages\u002Fprovider-services\u002Faws-tools-and-sdks\u002Fcovers\u002FArch_AWS-Tools-and-SDKs_64.png",{"key":213,"kind":214,"name":215,"icon":216,"provider":195},"amazon-s3-bucket","part","Amazon S3 bucket","\u002Fimages\u002Fprovider-services\u002Famazon-s3\u002Fcovers\u002FRes_Amazon-Simple-Storage-Service_Bucket_48.png",[218],{"key":219,"cards":220,"groups":236,"lines":237},"identity-exchange",[221,224,227,230,233],{"key":222,"component":209,"label":223},"app","Application using an AWS SDK",{"key":225,"component":191,"label":226},"provider","User pool: example identity provider",{"key":228,"component":191,"label":229},"pool","Identity pool",{"key":231,"component":205,"label":232},"sts","AWS STS: credentials for selected IAM role",{"key":234,"component":213,"label":235},"bucket","Application data",[],[238,240,242,244,246,248,249],{"from":222,"to":225,"label":239},"Sign-in request",{"from":225,"to":222,"label":241},"ID token",{"from":222,"to":228,"label":243},"Identity exchange",{"from":228,"to":231,"label":245},"Role credential request",{"from":231,"to":228,"label":247},"Temporary credentials",{"from":228,"to":222,"label":247},{"from":222,"to":234,"label":250},"Signed S3 request",[252,256,270,321,339,342,359,362,367],{"kind":253,"title":254,"body":255},"explanation","Turn an application identity into AWS access","\u003Cp>An \u003Cstrong>Amazon Cognito identity pool\u003C\u002Fstrong> lets an application obtain temporary AWS credentials for an authenticated user or, when enabled, an unauthenticated guest. Use it when a web or mobile application needs to call AWS services directly without embedding long-term access keys.\u003C\u002Fp>\u003Cp>A provider token proves an authenticated identity; it is not an AWS access key. The identity pool accepts supported identity-provider tokens and obtains credentials for an \u003Cstrong>IAM role\u003C\u002Fstrong>. A Cognito user pool can supply the identity token, but an identity pool can also work with other supported providers.\u003C\u002Fp>\u003Cp>The returned \u003Cstrong>temporary credentials\u003C\u002Fstrong> contain an access key ID, a secret access key, and a session token, together with an expiration time. The application uses these credentials to sign AWS API requests; the role's permissions scope what those requests can do.\u003C\u002Fp>",{"kind":257,"title":258,"exercise":259},"exercise","Name the two sides of the exchange",{"type":260,"question":261,"text":262,"answers":263,"distractors":266},"placeholder","Complete the identity-pool exchange.","For an authenticated user, the application supplies a {} to the identity pool and receives {} to sign AWS requests.",[264,265],"provider token","temporary AWS credentials",[267,268,269],"user password","permanent IAM user access key","bucket policy",{"kind":253,"title":271,"body":272,"diagram":219,"walkthrough":273,"table":307},"Follow the enhanced credential flow","\u003Cp>The diagram shows the \u003Cstrong>enhanced authentication flow\u003C\u002Fstrong>, in which the identity pool obtains credentials from AWS STS on the application's behalf. The example uses a Cognito user pool as the identity provider and S3 as the destination for signed requests.\u003C\u002Fp>\u003Cp>The application typically calls \u003Ccode>GetId\u003C\u002Fcode> to obtain an identity ID, then \u003Ccode>GetCredentialsForIdentity\u003C\u002Fcode> to request credentials. For authenticated access, it supplies the provider token in the provider information. For \u003Cstrong>guest access\u003C\u002Fstrong>, it omits that information and skips sign-in; the identity pool must have unauthenticated access enabled.\u003C\u002Fp>\u003Cp>The pool selects an \u003Cstrong>authenticated or unauthenticated IAM role\u003C\u002Fstrong>. Authenticated role mappings can also select roles using provider claims. Guest access still uses an IAM role and signed requests: it does not make the S3 bucket public.\u003C\u002Fp>",[274,277,283,288,294,299,304],{"text":275,"cards":276},"The application uses an AWS SDK to obtain credentials and make signed service requests.",[222],{"text":278,"cards":279,"lines":280},"For authenticated access, the application signs in to the user pool. The user pool returns an ID token that proves the user's identity.",[225],[281,282],{"from":222,"to":225},{"from":225,"to":222},{"text":284,"cards":285,"lines":286},"The application starts the identity exchange with the identity pool. It includes the provider token for authenticated access, or omits provider information for enabled guest access.",[228],[287],{"from":222,"to":228},{"text":289,"cards":290,"lines":291},"The identity pool requests role credentials from AWS STS. STS returns temporary credentials for the selected IAM role.",[231],[292,293],{"from":228,"to":231},{"from":231,"to":228},{"text":295,"cards":296,"lines":297},"The identity pool returns the temporary credentials to the application, including their expiration time.",[],[298],{"from":228,"to":222},{"text":300,"cards":301,"lines":302},"The application sends a signed request directly to the S3 bucket. S3 evaluates the request against the applicable permissions.",[234],[303],{"from":222,"to":234},{"text":305,"cards":306},"Authenticated and guest paths converge on temporary role credentials, which the application uses for direct, permission-controlled AWS access.",[],{"columns":308,"rows":312},[309,310,311],"Access path","Identity proof","Role selection",[313,317],[314,315,316],"Authenticated","Supported provider token","Authenticated role or mapping",[318,319,320],"Guest","No provider token","Unauthenticated role",{"kind":257,"title":322,"exercise":323},"Trace the guest path",{"type":324,"diagram":219,"scenario":325,"path":326},"trace","Guest access is enabled: follow the application as it obtains unauthenticated-role credentials and uses them to request an allowed S3 object.",[327,329,331,333,335,337],{"card":222,"note":328},"Start without a provider token.",{"card":228,"note":330},"Request credentials through the guest identity path.",{"card":231,"note":332},"Issue credentials for the selected unauthenticated role.",{"card":228,"note":334},"Receive the temporary role credentials.",{"card":222,"note":336},"Receive credentials and use them to sign the request.",{"card":234,"note":338},"Evaluate the signed request against applicable permissions.",{"kind":253,"title":340,"body":341},"Scope access with the selected IAM role","\u003Cp>Configure both sides of the \u003Cstrong>IAM role\u003C\u002Fstrong>. Its \u003Cstrong>trust policy\u003C\u002Fstrong> permits Cognito federated identities to assume it and restricts that trust to the intended identity pool. Conditions use the pool's audience value and the authenticated or unauthenticated identity state. Its \u003Cstrong>permissions policies\u003C\u002Fstrong> specify allowed actions and resources, such as reading only an application's S3 prefix.\u003C\u002Fp>\u003Cp>Use separate, least-privilege authenticated and guest roles. Signing in does not automatically grant broad access: the selected role must explicitly allow the required operations. For per-user S3 access, a policy can restrict an object prefix using \u003Ccode>cognito-identity.amazonaws.com:sub\u003C\u002Fcode>, which identifies the identity-pool identity, not the user-pool user.\u003C\u002Fp>\u003Cp>\u003Cstrong>AWS STS\u003C\u002Fstrong> issues the temporary role credentials; the identity pool coordinates the exchange and role selection. IAM defines trust and permissions, while Secrets Manager stores secrets rather than issuing these role sessions. Resource policies and explicit denies can further constrain a signed request.\u003C\u002Fp>",{"kind":257,"title":343,"exercise":344},"Restore the credential issuer",{"type":345,"diagram":219,"requirement":346,"change":347,"tray":348,"hint":357,"explanation":358},"flaw","The identity pool must obtain temporary credentials for its selected IAM role from the credential-issuing service.",{"card":231,"component":201},[349,351,353,355],{"component":205,"reason":350},"AWS STS issues temporary credentials for the selected IAM role.",{"component":201,"reason":352},"Secrets Manager stores secrets; it does not issue the role session credentials in this exchange.",{"component":197,"reason":354},"IAM defines role trust and permissions; AWS STS issues the temporary credentials.",{"component":191,"reason":356},"The identity pool coordinates role selection and the exchange; AWS STS is the credential issuer.","Choose the issuer of temporary role credentials, not a secret store or a policy-management service.","AWS STS issues the temporary role session credentials. Cognito returns them to the application, and the selected role's permissions scope their use.",{"kind":253,"title":360,"body":361},"Use credentials directly and refresh them safely","\u003Cp>After the exchange, the \u003Cstrong>application calls S3 directly\u003C\u002Fstrong>. Cognito does not proxy the S3 request, and the provider's ID token is not the credential used to sign it. The SDK signs the request using the temporary access key, secret key, and session token.\u003C\u002Fp>\u003Cp>Use an \u003Cstrong>SDK credential provider\u003C\u002Fstrong> that supports identity pools to manage credential retrieval and renewal before expiration. For authenticated access, the application must also maintain valid provider tokens as needed for later exchanges. Expired AWS credentials cannot authorize new requests, but expiration does not prevent an eligible identity from obtaining another session.\u003C\u002Fp>\u003Cp>Temporary credentials still need protection. Do not log them or replace the exchange with embedded long-term keys. Keep their IAM permissions narrow so that both authenticated and guest sessions have only the access the application needs.\u003C\u002Fp>",{"kind":257,"title":363,"exercise":364},"Rebuild the identity-to-access flow",{"type":365,"diagram":219,"question":366},"build","Connect the components to recreate the taught enhanced flow, including optional user-pool authentication, the guest-capable credential exchange, and direct access to application data.",{"kind":253,"title":368,"body":369,"takeaways":370},"What to remember","\u003Cp>\u003Cstrong>Identity pools\u003C\u002Fstrong> exchange authenticated or enabled guest identities for temporary AWS credentials whose access is scoped by IAM roles.\u003C\u002Fp>",[371,374,377],{"title":372,"text":373},"Identity proof is not credentials","Provider tokens establish an authenticated identity. Temporary AWS credentials sign AWS API requests.",{"title":375,"text":376},"Roles define the access","Configure role trust for the intended identity pool and identity state, then grant least-privilege permissions. Guests use an unauthenticated role, not a public-access bypass.",{"title":378,"text":379},"Exchange, call, renew","In the enhanced flow, Cognito obtains STS credentials and returns them to the application. The application calls AWS services directly and renews credentials as needed.","2026-10-29T23:38:15.475Z",{"pageSlug":67,"code":66,"certification":65,"certificationSlug":67},{"slug":383,"title":384},"amazon-cognito-vs-aws-identity-and-access-management-iam-saa-c03","Amazon Cognito vs AWS Identity and Access Management (IAM)",1796130148682]