All checks
Low SageMaker · regional

SageMaker inference experiments should have data storage encrypted with customer managed AWS KMS keys

Checks that a SageMaker inference experiment with data capture names a customer managed KMS key for the requests and responses it captures to Amazon S3. Without one the captured payloads are not under a key you hold; your own key adds a key policy, rotation and a CloudTrail record of each use.

service
SageMaker
severity
Low
scope
evaluated in every region

How to fix it

  • Replaces the resource: Only a test in Created or Running status can be updated; for a finished or cancelled one, create a new shadow test with the key instead.
  • Affects another check: SageMaker.23 reads a separate key on the same experiment, for the instance storage volume, and that one does need a new test.

Settings

DataStorageConfig.KmsKey
A customer managed key for the captured data in Amazon S3

With the AWS CLI

  • Overwrites existing settings: The call sets the whole data storage configuration, so resend the current Destination and any ContentType alongside the key.
aws sagemaker update-inference-experiment --name <experiment-name> --data-storage-config '{"Destination":"s3://<bucket>/<prefix>","KmsKey":"<kms-key-arn>"}' --region <region>

See which of your accounts this check is failing on.

Book a live scan