provider/triton: Change triton docs to reflect key_material not key_path (#6090)

This commit is contained in:
Paul Stack 2016-04-08 10:57:44 -05:00
parent 576e56025c
commit ed7ff1dc7f

View File

@ -16,9 +16,9 @@ Use the navigation to the left to read about the available resources.
```
provider "triton" {
account = "AccountName"
key_path = "~/.ssh/id_rsa"
key_id = "25:d4:a9:fe:ef:e6:c0:bf:b4:4b:4b:d4:a8:8f:01:0f"
account = "AccountName"
key_material = "~/.ssh/id_rsa"
key_id = "25:d4:a9:fe:ef:e6:c0:bf:b4:4b:4b:d4:a8:8f:01:0f"
# If using a private installation of Triton, specify the URL
url = "https://us-west-1.api.joyentcloud.com"
@ -30,6 +30,6 @@ provider "triton" {
The following arguments are supported in the `provider` block:
* `account` - (Required) This is the name of the Triton account. It can also be provided via the `SDC_ACCOUNT` environment variable.
* `key_path` - (Required) This is the path to the private key of an SSH key associated with the Triton account to be used.
* `key_material` - (Required) This is the path to the private key of an SSH key associated with the Triton account to be used.
* `key_id` - (Required) This is the fingerprint of the public key matching the key specified in `key_path`. It can be obtained via the command `ssh-keygen -l -E md5 -f /path/to/key`
* `url` - (Optional) This is the URL to the Triton API endpoint. It is required if using a private installation of Triton. The default is to use the Joyent public cloud.