github.com/atsaki/terraform@v0.4.3-0.20150919165407-25bba5967654/website/source/docs/providers/rundeck/r/private_key.html.md (about)

     1  ---
     2  layout: "rundeck"
     3  page_title: "Rundeck: rundeck_private_key"
     4  sidebar_current: "docs-rundeck-resource-private-key"
     5  description: |-
     6    The rundeck_private_key resource allows private keys to be stored in Rundeck's key store.
     7  ---
     8  
     9  # rundeck\_private\_key
    10  
    11  The private key resource allows SSH private keys to be stored into Rundeck's key store.
    12  The key store is where Rundeck keeps credentials that are needed to access the nodes on which
    13  it runs commands.
    14  
    15  ## Example Usage
    16  
    17  ```
    18  resource "rundeck_private_key" "anvils" {
    19      path = "anvils/id_rsa"
    20      key_material = "${file(\"/id_rsa\")}"
    21  }
    22  ```
    23  
    24  ## Argument Reference
    25  
    26  The following arguments are supported:
    27  
    28  * `path` - (Required) The path within the key store where the key will be stored.
    29  
    30  * `key_material` - (Required) The private key material to store, serialized in any way that is
    31    accepted by OpenSSH.
    32  
    33  The key material is hashed before it is stored in the state file, so sharing the resulting state
    34  will not disclose the private key contents.
    35  
    36  ## Attributes Reference
    37  
    38  Rundeck does not allow stored private keys to be retrieved via the API, so this resource does not
    39  export any attributes.