Returns a random byte string that is cryptographically secure.
By default, the random byte string is generated in AWS KMS. To generate
the byte string in the AWS CloudHSM cluster that is associated with a
custom key store,
specify the custom key store ID.
For more information about entropy and random number generation, see the
AWS Key Management Service Cryptographic Details
whitepaper.
Required permissions:
kms:GenerateRandom
(IAM policy)