dcloud ec2 volumes rotate-key

Replace an encrypted volume’s LUKS passphrase with a new key

IAM ec2:RotateVolumeKeyChanges state

Answers 202 with the key version. The instance it is attached to finishes the rotation within five minutes; a detached volume finishes when it is next attached. The dm-crypt volume key itself is not changed.

Synopsis

dcloud ec2 volumes rotate-key id

Arguments

  • <id>Required

    string

    Also accepted as --id. Constraints: /^vol-[0-9a-f]{6,32}$/

Example

dcloud ec2 volumes rotate-key id

Generated from the API description, the same one the API checks requests against and the CLI is built from.