dcloud ec2 key-pairs delete

Delete a key pair

IAM ec2:DeleteKeyPairChanges stateAsks before it deletes (-y skips)

Refused with 409 while a live instance still names the pair. Machines already launched with it keep the key installed on them.

Synopsis

dcloud ec2 key-pairs delete id

Arguments

  • <id>Required

    string

    Also accepted as --id. Constraints: uuid

Example

dcloud ec2 key-pairs delete id

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