From db63ee350799cd48d36b415a4bb7a33f753fd818 Mon Sep 17 00:00:00 2001 From: Iain Elder Date: Sat, 26 Nov 2016 13:46:12 +0100 Subject: [PATCH 1/2] 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. From b18152ca77db0656ed7577fd6f936b0bac0b0954 Mon Sep 17 00:00:00 2001 From: Iain Elder Date: Sat, 26 Nov 2016 18:58:56 +0100 Subject: [PATCH 2/2] More neutral wording clearly refering to docs. --- website/source/intro/getting-started/build-image.html.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/website/source/intro/getting-started/build-image.html.md b/website/source/intro/getting-started/build-image.html.md index 701cf60bd..8a90cbed2 100644 --- a/website/source/intro/getting-started/build-image.html.md +++ b/website/source/intro/getting-started/build-image.html.md @@ -114,10 +114,8 @@ 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`. +command line. However, it is potentially insecure. See our documentation for +other ways to [specify Amazon credentials](/docs/builders/amazon.html#specifying-amazon-credentials). -> **Note:** When using packer on Windows, replace the single-quotes in the command below with double-quotes.