Setting Zero Data Retention Boundaries for LLM Inference
Treat data retention as a boundary rather than a company-wide setting. Where to place it, how to enforce it, and how to show a reviewer that it holds.
Startups Solutions Architect
Introduction
"Does your product have Zero Data Retention?"
Customers can get this wrong in two directions. Some answer yes because they never opted into anything. The instinct is right, but the mode inherits each model's default rather than a choice the company made, and a reviewer expects a setting they can read. Others answer yes and enforce zero retention across the organization with a service control policy. A month later a new model requires a retention mode the company has denied itself.
Both treat retention as one switch for the whole company. Instead, this article treats it as a boundary: which workloads sit inside it, and how you show that it holds.
How Retention Modes Work
By default Amazon Bedrock does not store model inputs or outputs, share them with model providers, or use them for training, and providers cannot access the accounts their models run in. The data protection and abuse detection pages document this baseline.
A small number of models require retention for safety and abuse prevention, and some providers require AWS to perform human review as a condition of access to their models. The retention mode is how you authorize that:
Mode | What you authorize |
|---|---|
none | Nothing retained. Models that require retention are unavailable. |
default | Each model's own policy applies, so models that support zero retention keep it. Where a provider requires it, AWS may retain content for safety and abuse prevention. |
aws_review | AWS may retain content and perform human review within the AWS boundary, only for models whose provider requires it. |
Bedrock never raises the mode without your approval.
inherit , the default for new accounts and projects, defers to the next scope: the effective mode is the first non- inherit value of project, account, and model default, per Region. The model page lists each model's allowed modes and your effective mode, and the data retention guide covers the mechanics.
Choosing Your Retention Mode
Zero retention limits you to models that support it, so confirm the requirement before choosing it:
Driver | Where to set none |
|---|---|
Contractual commitment, such as a no-retention clause in an enterprise MSA or DPA | The accounts serving that contract, enforced by policy |
Regulated or residency-bound data, such as PHI, payment data, or content that must stay in a geography | The workloads that handle that data, with a Geographic inference profile , since any content retained for abuse detection stays in the Region that processed the request |
Trust as the product, where not keeping customer content is the differentiation | Everywhere the product runs, and publish it |
General caution and best practices | Nowhere. default keeps access to every model that does not require review |
If zero retention is needed for models that do not allow it by default, it may be enabled in coordination with the model provider. Once approved, these accounts see
none appear in that model's allowed_modes . Anthropic manages eligibility for Claude models. For OpenAI models, ask your AWS account team. The abuse detection page lists the current paths. Start before a model launch makes it urgent.Recommendation: scope zero data retention to the data that carries the commitment. Those workloads get
none and a policy that enforces it. Everything else keeps access to every model.
Setting Retention Boundaries
- Declare the mode in every Region you invoke from.
inheritbehaves safely, but a declarednoneis the evidence a reviewer can read, and declaring it changes nothing about how your application behaves.
- Attach an SCP that covers both API namespaces, the Bedrock control plane and
bedrock-mantle, including the project actions. Both namespaces accept the setting, so a policy that names only one does not constrain the other. The data retention guide publishes the policies, including a variant that permits retention for abuse detection while denying human review, and the AWS Security Blog covers verification.
- Declare before you attach. The published SCP still permits
none, but a stricter policy that denies every retention write would also block the correction. Leave the policy off the frontier OU.
Example SCP:
{ "Version": "2012-10-17", "Statement": [ { "Sid": "RequireZeroRetentionControlPlane", "Effect": "Deny", "Action": "bedrock:PutAccountDataRetention", "Resource": "*", "Condition": { "StringNotEquals": { "bedrock:DataRetentionMode": "none" } } }, { "Sid": "RequireZeroRetentionMantle", "Effect": "Deny", "Action": [ "bedrock-mantle:PutAccountDataRetention", "bedrock-mantle:CreateProject", "bedrock-mantle:UpdateProject" ], "Resource": "*", "Condition": { "StringNotEquals": { "bedrock-mantle:DataRetentionMode": "none" } } } ]}Example: Workload and Frontier Boundaries
The workload lane is the accounts your product runs in, set to
none , with the SCP attached at the OU. The frontier lane is one account in a separate OU set to aws_review , with no retention SCP. Models that permit none work in both lanes. Models that require review are available only in the frontier lane, where you evaluate them, until access for that model lets it move across. 
Evaluate Retention Across the Entire Stack
The core inference layer is only one part of the stack, and prompt content may persist elsewhere in your environment.
For example,
none at the model layer beside a log group with no retention period is not zero data retention, and an enterprise reviewer will assess the whole path. See model invocation logging and AgentCore Memory for the settings.
Conclusion
Evaluate the effective mode and its source in each account and Region. Where a contract or a data class requires zero retention, set none there and attach the SCP. Everywhere else, set default, and models that permit none behave exactly as before.
Create the frontier lane at the same time, before your roadmap makes it urgent. Then review every place prompt content persists outside the model layer: logs, conversation stores, agent memory, evaluation data, and any external vendor receiving your traces. Put that audit on a recurring schedule.
Done in that order, these steps give "Does your product have Zero Data Retention?" a specific answer: yes, for these workloads, enforced by this policy, checked on this schedule. The rest of your roadmap stays open.
Appendix
Troubleshooting:
Problem | Cause | Fix |
|---|---|---|
A model shows unavailable , or bedrock-runtime returns ValidationException | Your effective mode is below the model's minimum | Read allowed_modes and source . Raise the mode at the narrowest scope that needs it, or route the work to the frontier lane |
Setting the mode is denied | The SCP denies the requested mode by design, or a stricter policy denies every retention write | Under the published SCP, none can still be set. Work that needs a higher mode belongs in the frontier lane. For a stricter policy, detach it, set the mode, then reattach it |
A new project exceeds the account's mode | The SCP covers the control plane but not the bedrock-mantle project actions | Add CreateProject and UpdateProject under the bedrock-mantle:DataRetentionMode condition |
The Responses API rejects store=true | Stored responses are retention, so none forbids them. store=false alone does not guarantee zero retention | Expected. Keep none where the guarantee is required, and use the frontier lane for workloads that need stored responses |
Configuration reads none but the reviewer is not satisfied | Prompts persist in logs, tables, or a vendor outside your account | Review 'Evaluate Retention Across the Entire Stack' section |
You may also see a legacy
provider_data_share value in allowed_modes or on older accounts. Bedrock does not share content with model providers, so it is handled as aws_review , and new configurations should use aws_review .Independent of the mode, Bedrock uses automated mechanisms to detect apparent child sexual abuse material and may store and review flagged content exclusively to determine whether it is CSAM and report it to the relevant authority. This is a standard trust and safety obligation that enterprise reviewers expect.
Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article