[{"data":1,"prerenderedAt":398},["ShallowReactive",2],{"practiceExams":3,"studies":184,"free-lesson-\u002Fcourses\u002Faws-certified-solutions-architect-professional\u002Flessons\u002Ftenant-isolation-tenant-scoped-data-access-sap-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":17,"components":189,"diagrams":224,"steps":255,"dateModified":393,"course":394,"nextLesson":395},"tenant-isolation-tenant-scoped-data-access-sap-c03","Tenant Isolation: tenant-scoped data access","How trusted tenant context constrains data access through row-level policies and tenant-specific encryption permissions, including bypass risks and context leakage during connection reuse.",[190,196,200,204,208,212,216,220],{"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},"amazon-elastic-container-service-(amazon-ecs)","Amazon Elastic Container Service (Amazon ECS)","\u002Fimages\u002Fprovider-services\u002Famazon-elastic-container-service-(amazon-ecs)\u002Fcovers\u002FArch_Amazon-Elastic-Container-Service_64.png",{"key":201,"kind":192,"name":202,"icon":203,"provider":195},"amazon-rds","Amazon RDS","\u002Fimages\u002Fprovider-services\u002Famazon-rds\u002Fcovers\u002FArch_Amazon-RDS_64.png",{"key":205,"kind":192,"name":206,"icon":207,"provider":195},"aws-iam-identity-center-(aws-single-sign-on)","AWS IAM Identity Center (AWS Single Sign-On)","\u002Fimages\u002Fprovider-services\u002Faws-iam-identity-center-(aws-single-sign-on)\u002Fcovers\u002FArch_AWS-IAM-Identity-Center_64.png",{"key":209,"kind":192,"name":210,"icon":211,"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":213,"kind":192,"name":214,"icon":215,"provider":195},"aws-key-management-service-(aws-kms)","AWS Key Management Service (AWS KMS)","\u002Fimages\u002Fprovider-services\u002Faws-key-management-service-(aws-kms)\u002Fcovers\u002FArch_AWS-Key-Management-Service_64.png",{"key":217,"kind":192,"name":218,"icon":219,"provider":195},"aws-secrets-manager","AWS Secrets Manager","\u002Fimages\u002Fprovider-services\u002Faws-secrets-manager\u002Fcovers\u002FArch_AWS-Secrets-Manager_64.png",{"key":221,"kind":192,"name":222,"icon":223,"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",[225],{"key":226,"cards":227,"groups":243,"lines":244},"tenant-access",[228,231,234,237,240],{"key":229,"component":191,"label":230},"identity","User pool: controlled tenant membership",{"key":232,"component":197,"label":233},"application","Trusted application: authorization and connection pool",{"key":235,"component":201,"label":236},"database","PostgreSQL: tenant rows, RLS, encrypted fields",{"key":238,"component":221,"label":239},"sessions","Tenant-tagged role sessions",{"key":241,"component":213,"label":242},"keys","Tenant-specific keys and context conditions",[],[245,247,249,251,253],{"from":229,"to":232,"label":246},"JWT via client",{"from":232,"to":235,"label":248},"tenant-scoped transaction",{"from":232,"to":238,"label":250},"authorized tenant tag",{"from":238,"to":232,"label":252},"temporary credentials",{"from":232,"to":241,"label":254},"tenant-bound decrypt",[256,288,306,309,321,324,335,356,370,380],{"kind":257,"title":258,"body":259,"diagram":226,"walkthrough":260},"explanation","One trusted context, two enforcement boundaries","\u003Cp>A tenant identifier in a URL is a \u003Cstrong>requested context\u003C\u002Fstrong>, not authority. Validate the Cognito token's signature, issuer, expiry, and intended audience or client as appropriate to its type. Then authorize the selected tenant against administrator-controlled membership. A valid identity can belong to several tenants; each operation still needs one authorized tenant.\u003C\u002Fp>\u003Cp>This architecture carries that \u003Cstrong>trusted tenant context\u003C\u002Fstrong> into PostgreSQL row policies and tenant-specific key permissions. It uses Cognito user-pool JWTs for application identity, STS for temporary AWS credentials, and KMS for cryptographic operations. IAM defines authorization policies; it does not issue role-session credentials. Secrets Manager retrieves stored secrets; it does not mint tenant-tagged sessions. IAM Identity Center is not the configured Cognito user-pool token issuer.\u003C\u002Fp>\u003Cp>The diagram shows selected logical exchanges, not every network response. The JWT reaches the application through the client. Database results and KMS responses are omitted; the STS credential return is explicit because the application must use those credentials for decryption.\u003C\u002Fp>",[261,264,269,274,280,285],{"text":262,"cards":263},"The Cognito user pool issues tokens containing administrator-controlled membership information. Users must not be able to edit attributes that grant tenant membership.",[229],{"text":265,"cards":266,"lines":267},"The ECS application receives the JWT through the client, validates it, and authorizes the selected tenant. It rejects tenant-scoped work if trusted context cannot be established.",[232],[268],{"from":229,"to":232},{"text":270,"cards":271,"lines":272},"The application submits a transaction with tenant context to RDS for PostgreSQL. Row-level security constrains which rows its restricted database role can read or modify.",[235],[273],{"from":232,"to":235},{"text":275,"cards":276,"lines":277},"The application requests an STS role session tagged with the authorized tenant. STS returns temporary credentials whose effective permissions must be limited to that tenant.",[238],[278,279],{"from":232,"to":238},{"from":238,"to":232},{"text":281,"cards":282,"lines":283},"The application uses those credentials to request KMS decryption of an encrypted data key. Key permissions and encryption-context conditions bind the request to the authorized tenant.",[241],[284],{"from":232,"to":241},{"text":286,"cards":287},"The same authorized tenant constrains both row access and key use, without treating an identity token as database or KMS authorization by itself.",[],{"kind":289,"title":290,"exercise":291},"exercise","Restore the two credential issuers",{"type":292,"diagram":226,"question":293,"hidden":294,"tray":295},"palette","Fill the two issuer slots: the configured user-pool JWT issuer and the issuer of tenant-tagged temporary AWS credentials.",[229,238],[296,297,298,300,302,304],{"component":191},{"component":221},{"component":205,"reason":299},"This application validates its configured Cognito user-pool issuer, not an IAM Identity Center issuer.",{"component":209,"reason":301},"IAM defines roles and policies; STS issues the temporary credentials for a role session.",{"component":217,"reason":303},"Retrieving a stored secret does not create a tenant-tagged role session.",{"component":213,"reason":305},"KMS performs cryptographic operations; it issues neither user-pool JWTs nor STS role-session credentials.",{"kind":257,"title":307,"body":308},"Make row policies constrain reads and writes","\u003Cp>In PostgreSQL, enable \u003Cstrong>row-level security\u003C\u002Fstrong> on each tenant-owned table and make its ownership column non-null. A tenant predicate can compare \u003Ccode>tenant_id\u003C\u002Fcode> with \u003Ccode>NULLIF(current_setting('app.tenant_id', true), '')::uuid\u003C\u002Fcode>. Missing or empty context then produces no true tenant match; malformed context raises an error rather than granting access. The application supplies a validated tenant UUID.\u003C\u002Fp>\u003Cp>Use \u003Cstrong>USING\u003C\u002Fstrong> to constrain visible or targetable existing rows, and \u003Cstrong>WITH CHECK\u003C\u002Fstrong> to constrain inserted or updated row values. Explicitly applying the tenant predicate to both prevents reading another tenant's row and writing a row into another tenant's ownership. Review all applicable policies: permissive policies can combine with OR, so another broad policy can widen access.\u003C\u002Fp>\u003Cp>The execution role is part of the boundary. Use a non-owner role without superuser or \u003Cstrong>BYPASSRLS\u003C\u002Fstrong> privileges; table owners normally bypass RLS unless \u003Ccode>FORCE ROW LEVEL SECURITY\u003C\u002Fcode> applies. FORCE does not constrain superusers or BYPASSRLS roles. Audit privileged functions and alternate access paths. A custom tenant setting is not an unforgeable credential: SQL injection that can change it can defeat this design, so parameterization and restricted database access remain essential.\u003C\u002Fp>",{"kind":289,"title":310,"exercise":311},"Match each row-policy responsibility",{"type":312,"question":313,"text":314,"answers":315,"distractors":318},"placeholder","Fill the two policy clauses that enforce the tenant predicate.","{} constrains existing rows visible or targetable by a command. {} constrains new row values on INSERT or UPDATE.",[316,317],"USING","WITH CHECK",[319,320],"BYPASSRLS","FORCE ROW LEVEL SECURITY",{"kind":257,"title":322,"body":323},"Make tenant context live for one transaction","\u003Cp>A connection pool reuses \u003Cstrong>database sessions\u003C\u002Fstrong>, not just sockets. If tenant A is stored with a session-level setting, the next borrower can inherit A's authority. Establish a clean pool baseline with no tenant context, and never execute tenant-scoped SQL outside the transaction that establishes its context.\u003C\u002Fp>\u003Cp>After authorizing the request, acquire a clean connection and begin a transaction. Before any tenant data statement, set the context using \u003Ccode>SELECT set_config('app.tenant_id', :tenant_id, true)\u003C\u002Fcode> with a bound value. The final argument makes the setting \u003Cstrong>transaction-local\u003C\u002Fstrong>. Run the data statements, then commit on success or roll back on failure before returning the connection.\u003C\u002Fp>\u003Cp>\u003Cstrong>Transaction-local\u003C\u002Fstrong> does not erase an older session-level value: that value can reappear when the transaction ends. Pool checkout and return rules must therefore preserve the clean baseline, including after cancellation and errors. If transaction completion or cleanup cannot be confirmed, discard the connection rather than lend uncertain state to another tenant.\u003C\u002Fp>",{"kind":289,"title":325,"exercise":326},"Order the connection lifecycle",{"type":327,"question":328,"steps":329},"process","Put the lifecycle in order for a request whose tenant has already been authorized.",[330,331,332,333,334],"Acquire a connection with the clean baseline and begin a transaction.","Set the authorized tenant with transaction-local set_config.","Execute the tenant-scoped data statements.","Commit on success or roll back on failure.","Return the connection only after confirming the clean baseline; otherwise discard it.",{"kind":257,"title":336,"body":337,"table":338},"Bind decryption permission to the same tenant","\u003Cp>A shared database's storage-encryption key is \u003Cstrong>encryption at rest\u003C\u002Fstrong>, not a per-tenant decrypt boundary. Here, application-level \u003Cstrong>envelope encryption\u003C\u002Fstrong> protects sensitive fields: a data key encrypts the field, and a tenant-specific KMS key wraps that data key. RLS controls row access; KMS permissions separately control unwrapping. The application checks that row ownership, the trusted key mapping, and request context all name the same tenant.\u003C\u002Fp>\u003Cp>The application requests an STS session tagged with that authorized tenant, then calls KMS using the returned credentials. Effective permissions must restrict decryption to the mapped tenant key and require the expected \u003Cstrong>encryption context\u003C\u002Fstrong>, for example by comparing \u003Ccode>kms:EncryptionContext:tenant_id\u003C\u002Fcode> with \u003Ccode>aws:PrincipalTag\u002Ftenant_id\u003C\u002Fcode>. Supply the same context used when encrypting the data key. Context is authenticated metadata, not a secret or proof of membership; letting callers choose both the tag and context defeats the check.\u003C\u002Fp>\u003Cp>Restrict who can assume the role and set session tags, and do not give the application's base credentials a broad decrypt path around the scoped session. Review key policies, IAM policies, and grants together for alternate permissions. The trusted application remains a boundary: compromise of a broker allowed to select every tenant can cross tenants. Clear request-local credentials and plaintext data keys after use; key revocation does not recall plaintext or cached keys already obtained.\u003C\u002Fp>",{"columns":339,"rows":343},[340,341,342],"Boundary","Constrains","Does not replace",[344,348,352],[345,346,347],"PostgreSQL RLS","Row reads and writes","Trusted context creation",[349,350,351],"Tenant KMS permissions","Data-key unwrapping","Row authorization",[353,354,355],"Pool lifecycle","Session-context lifetime","Correct row policies",{"kind":289,"title":357,"exercise":358},"Follow the scoped decrypt exchange",{"type":359,"diagram":226,"scenario":360,"path":361},"trace","The application has retrieved an authorized row containing an encrypted data key. Follow the credential exchange and the tenant-bound unwrap request.",[362,364,366,368],{"card":232,"note":363},"Use the authorized tenant, not an unchecked caller-supplied tag.",{"card":238,"note":365},"Issue a tenant-tagged role session under the configured trust and permission restrictions.",{"card":232,"note":367},"Use the returned temporary credentials for this tenant's decrypt request.",{"card":241,"note":369},"Authorize unwrapping against the tenant key and matching encryption-context conditions.",{"kind":289,"title":371,"exercise":372},"Rebuild the tenant-scoped access path",{"type":373,"diagram":226,"question":374,"decoys":375},"build","Rebuild the selected logical exchanges for validated tenant identity, transaction-local row access, and tenant-bound decryption, including the credential return but omitting database and KMS responses.",[376,378],{"component":209,"reason":377},"IAM defines the session's roles and policies; it cannot replace STS as the issuer of temporary role-session credentials.",{"component":217,"reason":379},"Retrieving stored secrets cannot replace the KMS unwrap operation authorized by tenant-key permissions and encryption-context conditions.",{"kind":257,"title":381,"body":382,"takeaways":383},"What to remember","\u003Cp>\u003Cstrong>Tenant isolation\u003C\u002Fstrong> requires the same authorized tenant to constrain row access, connection state, and decryption permissions without an alternate bypass path.\u003C\u002Fp>",[384,387,390],{"title":385,"text":386},"Authorize before propagating","A valid identity or caller-supplied tenant ID is not tenant authorization. Protect the membership mapping and the authority to assign tenant session tags.",{"title":388,"text":389},"Constrain rows and lifetime","Apply tenant predicates to existing and new row values under a non-bypass role. Establish transaction-local context on a clean connection and discard connections whose cleanup is uncertain.",{"title":391,"text":392},"Scope key use independently","Bind decrypt permissions to the tenant key and matching encryption context, without broad fallback credentials. Encryption does not replace row authorization or protect plaintext already released.","2026-11-16T06:51:24.719Z",{"pageSlug":15,"code":19,"certification":13,"certificationSlug":15},{"slug":396,"title":397},"row-level-security-tenant-bound-policies-for-shared-tables-sap-c03","Row-Level Security: tenant-bound policies for shared tables",1796130196569]