Skip to content

kms_key in sagemaker.processing.Processor should default to output_kms_key #4874

Open
@admivsn

Description

@admivsn

Describe the bug
The kms_key used to encrypt either the user code file or local inputs when uploading to S3 should default to output_kms_key.

This would align the behaviour of with sagemaker.estimator.Estimator where output_kms_key is used to encrypt the tar'd user training code when uploading to S3.

Also, since output_kms_key is resolved from the config it means that kms_key can inherit this default from the config.

To reproduce
A clear, step-by-step set of instructions to reproduce the bug.
The provided code need to be complete and runnable, if additional data is needed, please include them in the issue.

Expected behavior
The kms_key should default to output_kms_key. This can be implemented in either:

Screenshots or logs
If applicable, add screenshots or logs to help explain your problem.

System information
A description of your system. Please provide:

  • SageMaker Python SDK version: v2.232.0
  • Framework name (eg. PyTorch) or algorithm (eg. KMeans): N/A
  • Framework version: N/A
  • Python version: 3.10
  • CPU or GPU: CPU
  • Custom Docker image (Y/N): N/A

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions