keypairs: EC2 Keypairs

Description Usage Arguments Value Examples

Description

Get, create, delete, and import EC2 keypairs

Usage

1
2
3
4
5
6
7
describe_keypairs(keypair = NULL, filter = NULL, ...)

create_keypair(keypair, path = NULL, ...)

delete_keypair(keypair, ...)

import_keypair(keypair, publickey, ...)

Arguments

keypair

A character string (max 255 character) containing the name of a keypair, or an object of class “ec2_keypair”.

filter

...

...

Additional arguments passed to [ec2HTTP()].

path

A character string specifying a filepath (or filename) to use as a .pem file for the keypair.

publickey

...

Value

A list of class “ec2_keypair” or list of such objects.

Examples

1
2
3
4
5
6
## Not run: 
k <- create_keypair("test_keypair")
describe_keypairs()
delete_keypair(k)

## End(Not run)

cloudyr/aws.ec2 documentation built on Jan. 14, 2020, 4:55 a.m.