FEATURES PRICING ABOUT DOCS LOGIN

rundeck_public_key

The public key resource allows SSH public keys to be stored into Rundeck’s key store. The key store is where Rundeck keeps credentials that are needed to access the nodes on which it runs commands.

This resource also allows the retrieval of an existing public key from the store, so that it may be used in the configuration of other resources such as aws_key_pair.

Example Usage

resource "rundeck_public_key" "anvils" {
    path = "anvils/id_rsa.pub"
    key_material = "ssh-rsa yada-yada-yada"
}

Argument Reference

The following arguments are supported:

The key material is included inline as a string, which is consistent with the way a public key is provided to the aws_key_pair, cloudstack_ssh_keypair, digitalocean_ssh_key and openstack_compute_keypair_v2 resources. This means the key_material argument can be populated from the interpolation of the public_key attribute of such a keypair resource, or vice-versa.

Attributes Reference

The following attributes are exported:


See the source of this document at Terraform.io

REQUEST A DEMO