From b7a448350a6c2fc47fbcde242d3e2807dc40da73 Mon Sep 17 00:00:00 2001 From: TC1977 <37350377+TC1977@users.noreply.github.com> Date: Fri, 26 Apr 2019 00:54:37 -0400 Subject: [PATCH] Update cloud-vultr.md (#1406) * Update cloud-vultr.md More fleshed-out instructions for generating an API key and saving the file. Also notes the default ansible behavior of looking for the file in `~/.vultr.ini`. * Update README.md --- README.md | 1 + docs/cloud-vultr.md | 9 ++++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 40da8bd..ef6bfbf 100644 --- a/README.md +++ b/README.md @@ -204,6 +204,7 @@ After this process completes, the Algo VPN server will contain only the users li - Configure [Azure](docs/cloud-azure.md) - Configure [DigitalOcean](docs/cloud-do.md) - Configure [Google Cloud Platform](docs/cloud-gce.md) + - Configure [Vultr](docs/cloud-vultr.md) * Advanced Deployment - Deploy to your own [FreeBSD](docs/deploy-to-freebsd.md) server - Deploy to your own [Ubuntu 18.04](docs/deploy-to-ubuntu.md) server diff --git a/docs/cloud-vultr.md b/docs/cloud-vultr.md index 3448e77..25291b1 100644 --- a/docs/cloud-vultr.md +++ b/docs/cloud-vultr.md @@ -1,8 +1,15 @@ ### Configuration file -You need to create a configuration file in INI format with your api key (https://my.vultr.com/settings/#settingsapi) +Algo requires an API key from your Vultr account in order to create a server. The API key is generated by going to your Vultr settings at https://my.vultr.com/settings/#settingsapi, and then selecting "generate new API key" on the right side of the box labeled "API Key". + +Algo can read the API key in several different ways. Algo will first look for the file containing the API key in the environment variable $VULTR_API_CONFIG if present. You can set this with the command: `export VULTR_API_CONFIG=/path/to/vultr.ini`. Probably the simplest way to give Algo the API key is to create a file titled `.vultr.ini` in your home directory by typing `nano ~/.vultr.ini`, then entering the following text: ``` [default] key = ``` +where you've cut-and-pasted the API key from above into the `` field (no brackets). + +When Algo asks `Enter the local path to your configuration INI file +(https://trailofbits.github.io/algo/cloud-vultr.html):` if you hit enter without typing anything, Algo will look for the file in `~/.vultr.ini` by default. +