Private Safety Processing (PSP) for OpenAI models on Amazon Bedrock (preview) - Amazon Bedrock
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

Private Safety Processing (PSP) for OpenAI models on Amazon Bedrock (preview)

Private Safety Processing (PSP) on Amazon Bedrock enables stronger safeguards for frontier models while giving you control over where retained content is stored and how it is protected. As frontier models become more capable, detecting potential activity that violates AWS's or OpenAI's terms of service or use policies requires expanding automated safety checks from individual requests to patterns across related interactions. For these models, Amazon Bedrock retains inputs and outputs for 30 days when automated safety systems flag them. Automated systems then review the retained content for activities that violate AWS's or OpenAI's terms of service or use policies. PSP on Amazon Bedrock is designed to follow OpenAI retention policies that are consistent across serving platforms.

To support these safety checks while preserving customer privacy and control over their data, PSP is designed to provide this review with the following protections:

  • You control where your content is stored and encrypted. You can keep retained content in your own Amazon S3 bucket, in your AWS account, encrypted with your own AWS KMS key.

  • No human review. Only automated systems review your retained content. AWS and OpenAI personnel don't read your prompts or the model's responses. When activity is flagged, OpenAI receives only safety labels, such as the risk level and policy category; and identifiers, such as your account ID, the request ID, and the safety identifier that you send with the request.

Preview limits

PSP is in public preview. Its APIs, IAM action names, and behavior can change before general availability of the program. The preview has the following limits:

  • You must enroll in the program through your AWS account team during this preview.

  • PSP is available in all AWS commercial Regions where Amazon Bedrock is available. AWS GovCloud (US) Regions aren't supported during the preview.

  • PSP applies only to requests that you send through the bedrock-runtime endpoint.

  • You can't yet use an IAM policy condition key or service control policies (SCPs) to require that retained content goes only to your bucket. This will be supported at general availability.

  • Amazon Bedrock doesn't send you alerts or cases about flagged activity.

  • If Amazon Bedrock temporarily can't use your bucket or key, your requests still succeed in this preview.

  • If your account is opted into zero data retention (ZDR), PSP applies to the models in Supported models. If your account is not opted into ZDR, PSP applies to all of your OpenAI models. To limit PSP to some workloads, enroll a project instead of your whole account.

Supported models

PSP supports the following model during the preview. If your account isn't approved for ZDR for OpenAI models, your PSP storage configuration also applies to the content that Amazon Bedrock retains from your other OpenAI models. For more information, see Step 3: Set your data retention mode.

Model Model ID Also requires
GPT-6 Cyber openai.gpt-6-cyber Approval for OpenAI Daybreak Red

How data retention works in PSP

With PSP on Amazon Bedrock, you control how your data is retained, based on the needs of your application. For applications that require private processing, you can configure Amazon Bedrock to retain your data in your own, customer managed, Amazon S3 bucket. You can revoke access at any time. For applications that don't require private processing, you can configure Amazon Bedrock to retain your data using an Amazon-managed service bucket. To understand how data retention works in Amazon Bedrock, see Data retention.

The following table compares the customer managed bucket and the AWS managed bucket.

With PSP: customer managed bucket With PSP: AWS managed bucket
Storage configuration customer_managed, which you save in Step 2: Choose where retained content is stored None, or amazon_managed
Where retained content is stored An Amazon S3 bucket in your account A bucket that AWS manages
Review Automated review only. AWS and OpenAI personnel can't access stored content. Retained for automated review only.
Encryption Your AWS KMS key AWS managed keys
Who controls access You, through your bucket and key policies. Amazon Bedrock reads the content for automated review. AWS
Visibility in your account AWS CloudTrail records Amazon Bedrock's use of your key, and of your bucket when you turn on data events. None
Deletion after 30 days Your bucket's lifecycle rule deletes it. Amazon Bedrock deletes it.
Cost You pay standard Amazon S3 and AWS KMS charges for your bucket and key. No storage charge

Enable PSP

To enable PSP, complete the following steps. Use a test account first, and send only test traffic. You need AWS CLI version 2.35 or later and curl with --aws-sigv4. Do Steps 2 to 4 in each AWS Region where you call a supported model.

Set your AWS CLI profile and Region, and check that the account in the output is the one that you're setting up.

export AWS_PROFILE=your-profile export AWS_REGION=us-east-1 export AWS_PAGER="" aws sts get-caller-identity

The steps on this page use the following shell function, which signs requests to the Amazon Bedrock control plane. It runs in a subshell, so the credentials that it exports don't stay in your shell or override AWS_PROFILE when you switch profiles.

psp() ( local method=$1 route=$2; shift 2 eval "$(aws configure export-credentials --format env)" curl -sS -X "$method" --aws-sigv4 "aws:amz:${AWS_REGION}:bedrock" \ --user "${AWS_ACCESS_KEY_ID}:${AWS_SECRET_ACCESS_KEY}" \ -H "x-amz-security-token: ${AWS_SESSION_TOKEN}" \ -H "content-type: application/json" "$@" \ "https://bedrock.${AWS_REGION}.amazonaws.com${route}" )

Step 1: Request enrollment

PSP has the same eligibility criteria as zero data retention (ZDR) for OpenAI models. Enrollment alone doesn't change where Amazon Bedrock stores your content. If AWS has already enrolled your account, organization, or project, skip to Step 2: Choose where retained content is stored. Otherwise, complete the following steps.

  1. Contact your AWS account team and specify the scope that you want to enroll (organization, account, or project) and its identifier. For an account, provide the 12-digit AWS account ID. For an organization, provide the 12-digit account ID of the organization's management account. For a project, provide the Amazon Bedrock project ARN.

  2. Wait for your AWS account team to confirm that AWS has enrolled the scope that you specified.

Note

For this preview, AWS has already enrolled eligible customers that have both ZDR and Daybreak Red approvals to facilitate GPT-6 Cyber testing.

In the preview, ListTrustedAccessPrograms doesn't return PSP, so you can't find or apply for it through the trusted access programs API. Approval for PSP on the OpenAI API doesn't carry over to Amazon Bedrock.

Step 2: Choose where retained content is stored

If you don't provide your own bucket, skip to Step 3: Set your data retention mode. Your requests succeed, and Amazon Bedrock stores retained content in Amazon-managed storage. You can't read that content, and Amazon Bedrock deletes it after 30 days. You can add your own bucket later. Content that's already stored stays in Amazon-managed storage until it's deleted.

To use your own bucket, complete Steps 2a to 2d. When a configuration with your own bucket applies to a request, Amazon Bedrock doesn't store that request's inputs and outputs in Amazon-managed storage. You need an IAM role that can create AWS KMS keys, Amazon S3 buckets, and IAM policies. Replace each example value with your own.

Example value What to use
111122223333 Your 12-digit AWS account ID. For organization scope, the management account ID.
us-east-1 The AWS Region where you call the supported models
amzn-s3-demo-bucket The name of your Amazon S3 bucket
arn:aws:kms:us-east-1:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab The full ARN of your AWS KMS key, not an alias
o-exampleorgid Your organization ID, for organization scope
proj_abcdefghijklmnopqrst Your Amazon Bedrock project ID, for project scope

2a. Create the AWS KMS key

  1. Open the AWS KMS console in the AWS Region where you call the supported models, and choose Create key. Create a new key that you use only for PSP.

  2. Choose Symmetric and Encrypt and decrypt. Keep Single-Region key.

  3. Replace the default key policy with the following policy, and replace us-east-1 in kms:ViaService with your Region. The first statement keeps your account in control of the key. The second lets Amazon Bedrock use the key through Amazon S3 when it writes and reads retained content. The third lets Amazon Bedrock call the key directly for your account when it checks your configuration. Don't add statements that let Amazon Bedrock use the key without these conditions, or validation fails. This policy is for an account configuration. For organization or project scope, change the third statement as Organization and project scope shows.

    { "Version": "2012-10-17", "Statement": [ { "Sid": "KeyAdministration", "Effect": "Allow", "Principal": { "AWS": "arn:aws:iam::111122223333:root" }, "Action": "kms:*", "Resource": "*" }, { "Sid": "AllowBedrockViaS3", "Effect": "Allow", "Principal": { "Service": "bedrock.amazonaws.com" }, "Action": ["kms:GenerateDataKey", "kms:Decrypt"], "Resource": "*", "Condition": { "StringEquals": { "kms:ViaService": "s3.us-east-1.amazonaws.com" }, "ArnLike": { "kms:EncryptionContext:aws:s3:arn": [ "arn:aws:s3:::amzn-s3-demo-bucket", "arn:aws:s3:::amzn-s3-demo-bucket/*" ] } } }, { "Sid": "AllowBedrockDirectUse", "Effect": "Allow", "Principal": { "Service": "bedrock.amazonaws.com" }, "Action": ["kms:GenerateDataKey", "kms:Decrypt"], "Resource": "*", "Condition": { "StringEquals": { "aws:SourceAccount": "111122223333" } } } ] }
  4. Turn on automatic key rotation, create the key, and copy its ARN.

Important

If you disable this key or schedule it for deletion, the content that it protects can't be decrypted.

2b. Create the bucket

  1. Open the Amazon S3 console and create a general purpose bucket in the same Region as the key. Don't use dots in the name. Use the bucket only for Amazon Bedrock. Don't share it with the OpenAI API or other workloads.

  2. Use the settings in the following table.

    Setting Value
    Object Ownership Bucket owner enforced
    Block Public Access All four settings on
    Bucket Versioning Enabled
    Default encryption SSE-KMS with your key from 2a, with Bucket Key enabled
    Object Lock, Requester Pays Off
    Replication, storage class transitions None
    Lifecycle rules Only the rules in this step
  3. Add the following bucket policy. It's for an account configuration. For organization or project scope, change the first two statements as Organization and project scope shows.

    { "Version": "2012-10-17", "Statement": [ { "Sid": "AllowBedrockRetentionStorage", "Effect": "Allow", "Principal": { "Service": "bedrock.amazonaws.com" }, "Action": ["s3:PutObject", "s3:GetObject"], "Resource": "arn:aws:s3:::amzn-s3-demo-bucket/*", "Condition": { "StringEquals": { "aws:SourceAccount": "111122223333" }, "ArnLike": { "aws:SourceArn": "arn:aws:bedrock:us-east-1:111122223333:*" } } }, { "Sid": "AllowBedrockValidationCleanup", "Effect": "Allow", "Principal": { "Service": "bedrock.amazonaws.com" }, "Action": "s3:DeleteObject", "Resource": "arn:aws:s3:::amzn-s3-demo-bucket/amazon-bedrock-retention-storage-validation/*", "Condition": { "StringEquals": { "aws:SourceAccount": "111122223333" }, "ArnLike": { "aws:SourceArn": "arn:aws:bedrock:us-east-1:111122223333:*" } } }, { "Sid": "DenyInsecureTransport", "Effect": "Deny", "Principal": "*", "Action": "s3:*", "Resource": ["arn:aws:s3:::amzn-s3-demo-bucket", "arn:aws:s3:::amzn-s3-demo-bucket/*"], "Condition": { "Bool": { "aws:SecureTransport": "false" } } } ] }

    The first statement lets Amazon Bedrock write retained content to the bucket and read it for automated review, for your account only. The second lets Amazon Bedrock delete only the empty test files that it writes under amazon-bedrock-retention-storage-validation/ when you save a configuration. The third statement refuses requests without TLS.

  4. To see Amazon Bedrock's access to your objects, turn on CloudTrail data events for the bucket.

  5. Add the lifecycle rules that follow. OpenAI requires that retained content be kept for 30 days. Amazon Bedrock doesn't delete it from your bucket, so you set the lifecycle rule that expires it. Don't expire it sooner than 30 days. Save the following rules as lifecycle.json. They expire retained content 30 days after Amazon Bedrock writes it, expire noncurrent versions 3 days later, abort incomplete multipart uploads after 7 days, and remove expired delete markers.

    { "Rules": [ { "ID": "psp-expire-after-30-days", "Status": "Enabled", "Filter": { "Prefix": "" }, "Expiration": { "Days": 30 }, "NoncurrentVersionExpiration": { "NoncurrentDays": 3 } }, { "ID": "psp-abort-incomplete-multipart", "Status": "Enabled", "Filter": { "Prefix": "" }, "AbortIncompleteMultipartUpload": { "DaysAfterInitiation": 7 } }, { "ID": "psp-expire-delete-markers", "Status": "Enabled", "Filter": { "Prefix": "" }, "Expiration": { "ExpiredObjectDeleteMarker": true } } ] }
    aws s3api put-bucket-lifecycle-configuration --bucket amzn-s3-demo-bucket \ --lifecycle-configuration file://lifecycle.json

2c. Give your role permission to save the configuration

Attach the following policy to the role that you use in 2d and Step 3: Set your data retention mode. When you save, Amazon Bedrock checks that your role can use the key and bucket by writing and reading an empty test file under amazon-bedrock-retention-storage-validation/ with your role's credentials. The policy's Amazon S3 access covers only that prefix, so it doesn't let the role read retained prompts and responses. After you save the configuration, you can remove the policy's Amazon S3 and AWS KMS permissions, and add them back when you change the configuration. If the key or bucket is in another account, its policy must also allow your role. For a bucket in another account, also set s3BucketOwner to that account's ID in 2d.

{ "Version": "2012-10-17", "Statement": [ { "Sid": "ManageRetentionStorageAndMode", "Effect": "Allow", "Action": [ "bedrock:PutAccountDataRetentionStorage", "bedrock:GetAccountDataRetentionStorage", "bedrock:DeleteAccountDataRetentionStorage", "bedrock:GetAccountDataRetention", "bedrock:PutAccountDataRetention" ], "Resource": "*" }, { "Sid": "UseTheKey", "Effect": "Allow", "Action": ["kms:GenerateDataKey", "kms:Decrypt"], "Resource": "arn:aws:kms:us-east-1:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab" }, { "Sid": "UseTheValidationPrefix", "Effect": "Allow", "Action": ["s3:PutObject", "s3:GetObject"], "Resource": "arn:aws:s3:::amzn-s3-demo-bucket/amazon-bedrock-retention-storage-validation/*" } ] }

2d. Save the storage configuration

Run the following command to save your configuration.

psp PUT /v1/data_retention/storage/openai -d '{ "storageDestination": "customer_managed", "storageConfiguration": { "kmsKeyArn": "arn:aws:kms:us-east-1:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab", "s3BucketArn": "arn:aws:s3:::amzn-s3-demo-bucket", "s3BucketOwner": "111122223333" } }'

The bucket and key must be in the Region where you save the configuration, so each Region needs its own bucket and key. With cross-Region inference, the configuration in the Region that you call applies, even if another Region processes the request.

Use the plain bucket ARN, without a prefix. Before it saves, Amazon Bedrock checks your role's access, its own access, encryption, and your source conditions, and then deletes its test files. If any check fails, nothing is saved. A successful save returns active for the key and the bucket.

{ "scope": "account", "modelProvider": "openai", "storageDestination": "customer_managed", "storageConfiguration": { "kmsKeyArn": "arn:aws:kms:us-east-1:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab", "s3BucketArn": "arn:aws:s3:::amzn-s3-demo-bucket", "s3BucketOwner": "111122223333" }, "updatedAt": "2026-12-01T17:00:00Z", "kmsKeyStatus": "active", "s3BucketStatus": "active" }
Note

active means that Amazon Bedrock could use your key and bucket when you saved the configuration. It doesn't mean that they stay usable. Keep the key, bucket, and policy settings from 2a and 2b.

If the call fails with a ConflictException error, AWS hasn't approved PSP for that scope or for a scope that covers it, or another save to the same configuration was in progress. See Step 1: Request enrollment, or retry. If it fails with an HTTP 400 error that says the operation isn't recognized, the storage APIs aren't turned on for your account in that Region, so contact your AWS account team. If it fails with another HTTP 400 error about the key or bucket, check the policies and settings in 2a and 2b, and the organization policies at the end of this step.

Organization and project scope

To save the configuration for an organization or a project instead of an account, use the caller permissions and storage path in the following table, and change the key and bucket policies as shown after it. For each request, Amazon Bedrock uses the most specific configuration, in the order project, account, organization.

Scope Caller permissions Storage path
Account bedrock:*AccountDataRetentionStorage /v1/data_retention/storage/openai
Organization bedrock:*OrganizationDataRetentionStorage, plus organizations:DescribeOrganization on *. A delegated administrator also needs organizations:ListDelegatedAdministrators on *. /v1/data_retention/organization-storage/openai
Project bedrock:*ProjectDataRetentionStorage, bedrock:UpdateProject, and bedrock:GetProject on the project ARN /v1/projects/{projectIdentifier}/data_retention/storage/openai

For an organization, your organization must have all features enabled, and you save the configuration from the management account or a delegated administrator for Amazon Bedrock. A save from an account that isn't in an organization fails with an HTTP 400 error. Member accounts write retained content under their own account IDs. In the key policy from 2a, replace the AllowBedrockDirectUse statement with the following statement.

{ "Sid": "AllowBedrockDirectUse", "Effect": "Allow", "Principal": { "Service": "bedrock.amazonaws.com" }, "Action": ["kms:GenerateDataKey", "kms:Decrypt"], "Resource": "*", "Condition": { "StringEquals": { "aws:SourceOrgID": "o-exampleorgid" } } }

In the bucket policy from 2b, replace the Condition block of the AllowBedrockRetentionStorage and AllowBedrockValidationCleanup statements with the following block.

"Condition": { "StringEquals": { "aws:SourceOrgID": "o-exampleorgid" }, "ArnLike": { "aws:SourceArn": "arn:aws:bedrock:us-east-1:*:*" } }

For a project, in the key policy from 2a, replace the Condition block of the AllowBedrockDirectUse statement, and in the bucket policy from 2b, replace the Condition block of the AllowBedrockRetentionStorage and AllowBedrockValidationCleanup statements, with the following block.

"Condition": { "StringEquals": { "aws:SourceAccount": "111122223333" }, "ArnEquals": { "aws:SourceArn": "arn:aws:bedrock:us-east-1:111122223333:project/proj_abcdefghijklmnopqrst" } }

For a project, attach the following caller policy instead of the policy in 2c.

{ "Version": "2012-10-17", "Statement": [ { "Sid": "ManageProjectRetentionStorage", "Effect": "Allow", "Action": [ "bedrock:PutProjectDataRetentionStorage", "bedrock:GetProjectDataRetentionStorage", "bedrock:DeleteProjectDataRetentionStorage", "bedrock:UpdateProject", "bedrock:GetProject" ], "Resource": "arn:aws:bedrock:us-east-1:111122223333:project/proj_abcdefghijklmnopqrst" }, { "Sid": "UseTheKey", "Effect": "Allow", "Action": ["kms:GenerateDataKey", "kms:Decrypt"], "Resource": "arn:aws:kms:us-east-1:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab" }, { "Sid": "UseTheValidationPrefix", "Effect": "Allow", "Action": ["s3:PutObject", "s3:GetObject"], "Resource": "arn:aws:s3:::amzn-s3-demo-bucket/amazon-bedrock-retention-storage-validation/*" } ] }

If you use organization policies or network restrictions, make sure that they allow the Amazon Bedrock service principal.

  • If a resource control policy (RCP) denies Amazon S3 or AWS KMS access from outside your organization, it must allow the service principal through aws:PrincipalIsAWSService.

  • If your key or bucket policy blocks requests by IP address or VPC, add an exception for requests that AWS services make on your behalf (aws:ViaAWSService).

  • Don't limit your key to use through Amazon S3 only (kms:ViaService). Amazon Bedrock and the role that saves the configuration also call the key directly.

Step 3: Set your data retention mode

Set the data retention mode to default for the projects or accounts that call supported models. If a project or account already uses aws_review for other models, such as Claude Fable, you can keep it. PSP works with either mode. Choosing a mode doesn't enroll you in PSP. For more information, see Data retention.

Important

The mode applies to every Amazon Bedrock call in its scope. If your account is approved for ZDR, Amazon Bedrock doesn't retain content for safety review under default from the models that you use with ZDR. It retains flagged content only from models that require retention, such as the supported models. If your account isn't approved for ZDR, Amazon Bedrock retains content from all of your OpenAI models under default and stores it under your PSP storage configuration. Under default, Responses API calls that don't set store are saved so that you can retrieve them, for every model, including models that you use with ZDR. To avoid that, set store to false. Under none, store defaults to false. To keep ZDR for your other workloads, set default only on a project that you use for supported models.

To set the mode on a project, run the following command. Your role needs bedrock:UpdateProject on the project.

aws bedrock update-project \ --project-identifier proj_abcdefghijklmnopqrst \ --data-retention mode=default

To set the mode for the whole account in the current Region instead, run the following commands. Your role needs bedrock:GetAccountDataRetention and bedrock:PutAccountDataRetention, which the policy in 2c includes.

psp GET /data-retention psp PUT /data-retention -d '{"mode": "default"}'

An SCP that denies only aws_review and provider_data_share, such as the example on the Data retention page that permits AWS retention but not human review, works without changes, because PSP uses default. If your SCP allows only none, add an exception for the accounts that you use with PSP. Otherwise, the commands in this step fail with an access denied error. The following statement requires none in every account except 111122223333. Its Null condition limits it to calls that set a mode, so project renames still work. When you create a project in another account, set its mode to none.

{ "Effect": "Deny", "Action": [ "bedrock:PutAccountDataRetention", "bedrock:CreateProject", "bedrock:UpdateProject" ], "Resource": "*", "Condition": { "StringNotEquals": { "bedrock:DataRetentionMode": "none", "aws:PrincipalAccount": ["111122223333"] }, "Null": { "bedrock:DataRetentionMode": "false" } } }

Step 4: Check your setup

  1. If you use your own bucket, run psp GET /v1/data_retention/storage/openai, or the organization or project path from the table in Organization and project scope, and check that kmsKeyStatus and s3BucketStatus are active.

  2. Check your mode. Run psp GET /data-retention and check that mode is default, or aws_review if you kept it. For a project, run aws bedrock get-project --project-identifier proj_abcdefghijklmnopqrst and check the mode in dataRetention.

  3. Call a supported model with an inference profile ID through the bedrock-runtime endpoint, such as us.openai.gpt-6-cyber or global.openai.gpt-6-cyber. For the inference profile IDs and the permissions that the call needs, see Daybreak Red: GPT-6 Cyber.

  4. If you use your own bucket, check CloudTrail for GenerateDataKey and Decrypt calls on your key by the service principal. Amazon Bedrock calls the key directly when you save the configuration, and through Amazon S3 when it writes and reads retained content. Then check your bucket for new objects under OpenAI/. Objects appear only for requests that automated safety systems flag, so a short test can leave the bucket empty. Objects can take 5 minutes or more to appear, and each object holds up to 100 requests.

If something looks wrong, contact AWS Support with your account ID, the Region, the time and request ID, and the output of psp GET /v1/data_retention/storage/openai.

How can I make sure that data is retained in my bucket and not the Amazon-managed bucket?

Check What it tells you Keep in mind
Validation when you save. Turn on CloudTrail data events for your bucket before you save your configuration, then look for PutObject and DeleteObject calls by bedrock.amazonaws.com under amazon-bedrock-retention-storage-validation/. Amazon Bedrock could write to your bucket with your key when you saved. Confirms access only at the time you save.
Alerts on configuration changes. Use Amazon EventBridge rules on CloudTrail events, such as DisableKey, ScheduleKeyDeletion, PutKeyPolicy, PutBucketPolicy, and PutBucketEncryption, and AWS Config rules for bucket versioning, encryption, and lifecycle settings. Someone changed a setting that could block Amazon Bedrock's access. Alerts on changes, not on failures. Doesn't detect SCP or RCP changes made in your organization's management account.
Writes to your bucket. Look for PutObject calls by bedrock.amazonaws.com under OpenAI/. Amazon Bedrock wrote retained content to your bucket. Writes happen only for flagged or sampled requests, so no writes doesn't mean something is wrong. Requires CloudTrail data events.
Alerts on access denied errors. Create an EventBridge rule for AccessDenied errors on Amazon S3 and AWS KMS calls by bedrock.amazonaws.com. Amazon Bedrock tried to write retained content and couldn't. Requires CloudTrail data events for Amazon S3 errors. AWS KMS errors are logged by default. Occurs only for flagged or sampled requests.

Change or stop using PSP

  • Change storage. Save a new configuration (as described in Step 2d). Each save replaces the whole configuration. Amazon Bedrock uses the configuration that applied when each request ran, so keep your old bucket, key, and their policies for at least 30 days. To delete a configuration, run psp DELETE /v1/data_retention/storage/openai. Amazon Bedrock then uses the next configuration that applies, or Amazon-managed storage.

  • Leave the preview. In each Region, delete your storage configurations, or save {"storageDestination": "amazon_managed"}. Then ask your AWS account team to remove you from PSP. If you skip the first step, requests to OpenAI models that need retention for review fail after AWS removes you from PSP. Keep your bucket and key for at least 30 days, and then delete them.