paws.compute (version 0.1.0)

lightsail_create_key_pair: Creates an SSH key pair

Description

Creates an SSH key pair.

Usage

lightsail_create_key_pair(keyPairName, tags)

Arguments

keyPairName

[required] The name for your new key pair.

tags

The tag keys and optional values to add to the resource during create.

To tag a resource after it has been created, see the tag resource operation.

Request syntax

svc$create_key_pair(
  keyPairName = "string",
  tags = list(
    list(
      key = "string",
      value = "string"
    )
  )
)

Details

The create key pair operation supports tag-based access control via request tags. For more information, see the Lightsail Dev Guide.