dcloud rds encryption start

Encrypt a database created before disk encryption: an encrypted copy streams beside it, then a switchover of seconds in its maintenance window (or now)

IAM rds:EncryptDBInstanceChanges stateAsks before it deletes (-y skips)

Single-node databases. Same address, credentials and backup stanza; plaintext backups move to a new encrypted repository with a full backup first. Writes pause only for the switchover (the old machine stops, the address moves, the encrypted machine is promoted). The old disk is kept holdDays, then zero-filled and deleted.

Synopsis

dcloud rds encryption start id [flags]

Arguments

  • <id>Required

    string

    Also accepted as --id. Constraints: 3-64 chars, /^(?!ewdoc-)[a-z0-9-]+$/

Flags

  • --scheduleOptional

    enum

    window: switch over in the maintenance window; now: as soon as the copy is ready

    One of: now, window

    Default: "window"

  • --delete-old-after-holdOptional

    boolean (--delete-old-after-hold / --no-delete-old-after-hold)

    Zero-fill and delete the old disk (and plaintext backups) when the hold ends; false keeps them until deleted by hand

    Default: true

Example

dcloud rds encryption start id

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