

# ModelPackageSecurityConfig
<a name="API_ModelPackageSecurityConfig"></a>

An optional Amazon Key Management Service key to encrypt, decrypt, and re-encrypt model package information for regulated workloads with highly sensitive data.

## Contents
<a name="API_ModelPackageSecurityConfig_Contents"></a>

 ** KmsKeyId **   <a name="sagemaker-Type-ModelPackageSecurityConfig-KmsKeyId"></a>
The Amazon KMS Key ID (`KMSKeyId`) used for encryption of model package information.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 2048.  
Pattern: `[a-zA-Z0-9:/_-]*`   
Required: Yes

## See Also
<a name="API_ModelPackageSecurityConfig_SeeAlso"></a>

For more information about using this API in one of the language-specific Amazon SDKs, see the following:
+  [Amazon SDK for C\+\+](https://docs.amazonaws.cn/goto/SdkForCpp/sagemaker-2017-07-24/ModelPackageSecurityConfig) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/sagemaker-2017-07-24/ModelPackageSecurityConfig) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/sagemaker-2017-07-24/ModelPackageSecurityConfig) 