dcloud ec2 instances remove-key

Remove a key pair Deutsche Cloud added from a running instance

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

Synopsis

dcloud ec2 instances remove-key id keyPairId

Arguments

  • <id>Required

    string

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

  • <keyPairId>Required

    string

    Also accepted as --key-pair-id. Constraints: uuid

Example

dcloud ec2 instances remove-key id keyPairId

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