Method: Aws::KMS::Types::GenerateDataKeyWithoutPlaintextRequest#grant_tokens

Defined in:
lib/aws-sdk-kms/types.rb

#grant_tokensArray<String>

A list of grant tokens.

Use a grant token when your permission to call this operation comes from a new grant that has not yet achieved *eventual consistency*. For more information, see [Grant token] and [Using a grant token] in the *Key Management Service Developer Guide*.

[1]: docs.aws.amazon.com/kms/latest/developerguide/grants.html#grant_token [2]: docs.aws.amazon.com/kms/latest/developerguide/using-grant-token.html

Returns:

  • (Array<String>)


3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
# File 'lib/aws-sdk-kms/types.rb', line 3135

class GenerateDataKeyWithoutPlaintextRequest < Struct.new(
  :key_id,
  :encryption_context,
  :key_spec,
  :number_of_bytes,
  :grant_tokens,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end