FEATURES OPEN SOURCE ABOUT DOCS LOGIN REGISTER

packet_ssh_key

Provides a Packet SSH key resource to allow you manage SSH keys on your account. All SSH keys on your account are loaded on all new devices, they do not have to be explicitly declared on device creation.

Example Usage

# Create a new SSH key
resource "packet_ssh_key" "key1" {
    name = "terraform-1"
    public_key = "${file("/home/terraform/.ssh/id_rsa.pub")}"
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:


See the source of this document at Terraform.io