Amazon.KeyManagementService.AmazonKeyManagementServiceClient.CreateKey C# (CSharp) Метод

CreateKey() публичный Метод

Creates a customer master key (CMK).

You can use a CMK to encrypt small amounts of data (4 KiB or less) directly, but CMKs are more commonly used to encrypt data encryption keys (DEKs), which are used to encrypt raw data. For more information about DEKs and the difference between CMKs and DEKs, see the following:

/// The system timed out while trying to fulfill the request. The request can be retried. /// /// The request was rejected because a specified ARN was not valid. /// /// The request was rejected because an internal exception occurred. The request can be /// retried. /// /// The request was rejected because a limit was exceeded. For more information, see Limits /// in the AWS Key Management Service Developer Guide. /// /// The request was rejected because the specified policy is not syntactically or semantically /// correct. /// /// The request was rejected because a specified parameter is not supported or a specified /// resource is not valid for this operation. ///
public CreateKey ( CreateKeyRequest request ) : CreateKeyResponse
request Amazon.KeyManagementService.Model.CreateKeyRequest Container for the necessary parameters to execute the CreateKey service method.
Результат Amazon.KeyManagementService.Model.CreateKeyResponse
        public CreateKeyResponse CreateKey(CreateKeyRequest request)
        {
            var marshaller = new CreateKeyRequestMarshaller();
            var unmarshaller = CreateKeyResponseUnmarshaller.Instance;

            return Invoke<CreateKeyRequest,CreateKeyResponse>(request, marshaller, unmarshaller);
        }
AmazonKeyManagementServiceClient