Learn R Programming

paws.compute (version 0.7.0)

lightsail_delete_key_pair: Deletes the specified key pair by removing the public key from Amazon Lightsail

Description

Deletes the specified key pair by removing the public key from Amazon Lightsail.

See https://www.paws-r-sdk.com/docs/lightsail_delete_key_pair/ for full documentation.

Usage

lightsail_delete_key_pair(keyPairName, expectedFingerprint = NULL)

Arguments

keyPairName

[required] The name of the key pair to delete.

expectedFingerprint

The RSA fingerprint of the Lightsail default key pair to delete.

The expectedFingerprint parameter is required only when specifying to delete a Lightsail default key pair.