From 286a5aa8c727b8be6ceaf5a75d167c0cdd811227 Mon Sep 17 00:00:00 2001 From: EximChua <40189902+EximChua@users.noreply.github.com> Date: Wed, 13 Jun 2018 15:34:06 +0800 Subject: [PATCH] Update info on format of the credentials file Update info on format of the credentials file. --- website/source/docs/builders/amazon.html.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/website/source/docs/builders/amazon.html.md b/website/source/docs/builders/amazon.html.md index 2072d5312..d54a28cef 100644 --- a/website/source/docs/builders/amazon.html.md +++ b/website/source/docs/builders/amazon.html.md @@ -102,6 +102,14 @@ credentials inline, or in the environment, Packer will check this location. You can optionally specify a different location in the configuration by setting the environment with the `AWS_SHARED_CREDENTIALS_FILE` variable. +The format for the credentials file is like so + +``` +[default] +aws_access_key_id= +aws_secret_access_key= +``` + You may also configure the profile to use by setting the `profile` configuration option, or setting the `AWS_PROFILE` environment variable: