

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# KmsGrantConfiguration
<a name="API_KmsGrantConfiguration"></a>

KMS 密钥的拟议授予配置。有关更多信息，请参阅 [CreateGrant](https://docs.aws.amazon.com/kms/latest/APIReference/API_CreateGrant.html)。

## 内容
<a name="API_KmsGrantConfiguration_Contents"></a>

 ** granteePrincipal **   <a name="accessanalyzer-Type-KmsGrantConfiguration-granteePrincipal"></a>
获准执行授予许可的业务的委托人。  
类型：字符串  
是否必需：是

 ** issuingAccount **   <a name="accessanalyzer-Type-KmsGrantConfiguration-issuingAccount"></a>
 发放补助金的 AWS 账户 依据。该账户用于提议由密钥所有者以外的账户发放的 AWS KMS 赠款。  
类型：字符串  
是否必需：是

 ** operations **   <a name="accessanalyzer-Type-KmsGrantConfiguration-operations"></a>
拨款允许的操作清单。  
类型：字符串数组  
有效值：`CreateGrant | Decrypt | DescribeKey | Encrypt | GenerateDataKey | GenerateDataKeyPair | GenerateDataKeyPairWithoutPlaintext | GenerateDataKeyWithoutPlaintext | GetPublicKey | ReEncryptFrom | ReEncryptTo | RetireGrant | Sign | Verify`  
是否必需：是

 ** constraints **   <a name="accessanalyzer-Type-KmsGrantConfiguration-constraints"></a>
使用此结构建议仅在[操作请求包含指定的加密](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#cryptographic-operations)[上下文时才允许在授权中进行加密](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context)操作。  
类型：[KmsGrantConstraints](API_KmsGrantConstraints.md) 对象  
必需：否

 ** retiringPrincipal **   <a name="accessanalyzer-Type-KmsGrantConfiguration-retiringPrincipal"></a>
被授予使用[RetireGrant](https://docs.aws.amazon.com/kms/latest/APIReference/API_RetireGrant.html)操作撤销补助金的权限的委托人。  
类型：字符串  
必需：否

## 另请参阅
<a name="API_KmsGrantConfiguration_SeeAlso"></a>

有关以特定语言之一使用此 API 的更多信息 AWS SDKs，请参阅以下内容：
+  [AWS 适用于 C\$1\$1 的 SDK](https://docs.aws.amazon.com/goto/SdkForCpp/accessanalyzer-2019-11-01/KmsGrantConfiguration) 
+  [AWS 适用于 Java 的 SDK V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/accessanalyzer-2019-11-01/KmsGrantConfiguration) 
+  [AWS 适用于 Ruby V3 的 SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/accessanalyzer-2019-11-01/KmsGrantConfiguration) 