Class: Aws::KMS::Types::GenerateRandomRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-kms/types.rb

Overview

Note:

When making an API call, you may pass GenerateRandomRequest data as a hash:

{
  number_of_bytes: 1,
  custom_key_store_id: "CustomKeyStoreIdType",
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#custom_key_store_idString

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

[1]: docs.aws.amazon.com/kms/latest/developerguide/custom-key-store-overview.html

Returns:

  • (String)

2560
2561
2562
2563
2564
2565
# File 'lib/aws-sdk-kms/types.rb', line 2560

class GenerateRandomRequest < Struct.new(
  :number_of_bytes,
  :custom_key_store_id)
  SENSITIVE = []
  include Aws::Structure
end

#number_of_bytesInteger

The length of the random byte string. This parameter is required.

Returns:

  • (Integer)

2560
2561
2562
2563
2564
2565
# File 'lib/aws-sdk-kms/types.rb', line 2560

class GenerateRandomRequest < Struct.new(
  :number_of_bytes,
  :custom_key_store_id)
  SENSITIVE = []
  include Aws::Structure
end