AWSKMSGenerateRandomRequest

Objective-C

@interface AWSKMSGenerateRandomRequest

Swift

class AWSKMSGenerateRandomRequest
  • Generates the random byte string in the CloudHSM cluster that is associated with the specified CloudHSM key store. To find the ID of a custom key store, use the DescribeCustomKeyStores operation.

    External key store IDs are not valid for this parameter. If you specify the ID of an external key store, GenerateRandom throws an UnsupportedOperationException.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable customKeyStoreId;

    Swift

    var customKeyStoreId: String? { get set }
  • The length of the random byte string. This parameter is required.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable numberOfBytes;

    Swift

    var numberOfBytes: NSNumber? { get set }