From db63ee350799cd48d36b415a4bb7a33f753fd818 Mon Sep 17 00:00:00 2001 From: Iain Elder Date: Sat, 26 Nov 2016 13:46:12 +0100 Subject: [PATCH] Note more secure ways to pass credentials. Link to the documentation for new users who want to use AWS's existing credential infrastructure, and provide a familar example. --- website/source/intro/getting-started/build-image.html.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/website/source/intro/getting-started/build-image.html.md b/website/source/intro/getting-started/build-image.html.md index adab18b46..701cf60bd 100644 --- a/website/source/intro/getting-started/build-image.html.md +++ b/website/source/intro/getting-started/build-image.html.md @@ -113,6 +113,12 @@ With a properly validated template. It is time to build your first image. This is done by calling `packer build` with the template file. The output should look similar to below. Note that this process typically takes a few minutes. +-> **Note:** For the tutorial it is convenient to use the credentials in the +command line. However, it is potentially insecure. [Learn how to set this +securely](/docs/builders/amazon.html#specifying-amazon-credentials). For +example, with a credentials profile, you can do this: +`AWS_PROFILE=testing packer build example.json`. + -> **Note:** When using packer on Windows, replace the single-quotes in the command below with double-quotes.