AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Namespace: Amazon.KeyManagementService.Model
Assembly: AWSSDK.dll
Version: (assembly version)
public class CreateKeyRequest : AmazonKeyManagementServiceRequest IRequestEvents
The CreateKeyRequest type exposes the following members
Name | Description | |
---|---|---|
CreateKeyRequest() |
Name | Type | Description | |
---|---|---|---|
Description | System.String |
Gets and sets the property Description.
Description of the key. We recommend that you choose a description that helps your customer decide whether the key is appropriate for a task. |
|
KeyUsage | Amazon.KeyManagementService.KeyUsageType |
Gets and sets the property KeyUsage.
Specifies the intended use of the key. Currently this defaults to ENCRYPT/DECRYPT, and only symmetric encryption and decryption are supported. |
|
Policy | System.String |
Gets and sets the property Policy.
Policy to attach to the key. This is required and delegates back to the account. The key is the root of trust. The policy size limit is 32 KiB (32768 bytes). |
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8
.NET for Windows Phone:
Supported in: Windows Phone 8.1, Windows Phone 8