generate_blob {aws.kms}R Documentation

Generate Random Blob

Description

Generate a random byte string

Usage

generate_blob(bytes = 1, ...)

Arguments

bytes

An integer specifying a number of bytes between 1 and 1024.

...

Additional arguments passed to kmsHTTP.

Details

create_kms_alias creates an alias for KMS key, which can be used in place of the KeyId or ARN. A given key can have multiple aliases. delete_kms_alias deletes an named alias. update_kms_alias reassigns an alias to a new key.

Value

A base64-encoded character string.

See Also

create_kms_key, encrypt

Examples

## Not run: 
  b <- generate_blob()
  if (require("base64enc")) {
     base64enc::base64decode(b)
  }

## End(Not run)

[Package aws.kms version 0.1.4 Index]