enable_kms_rotation {aws.kms} | R Documentation |
Enable/Disable Key Rotation
Description
Enable or disable a encryption key rotation
Usage
enable_kms_rotation(key, ...)
disable_kms_rotation(key, ...)
get_kms_rotation(key, ...)
Arguments
key |
A character string specifying a key ID, Amazon Resource Name (ARN), alias name, or alias ARN. When using an alias name, prefix it with “alias/”. |
... |
Additional arguments passed to |
See Also
Examples
## Not run:
# create key
k <- create_kms_key(description = "example")
# enable rotation
enable_kms_rotation(k)
# disable rotation
disable_kms_rotation(k)
# confirm rotation is disabled
get_kms_rotation(k)
# delete in 7 days
delete_kms_key(k)
## End(Not run)
[Package aws.kms version 0.1.4 Index]