From 66adb1c62cb70e3f44dc0915536cf360d11bf621 Mon Sep 17 00:00:00 2001 From: Alexandre Constantino Date: Wed, 27 Jan 2016 13:55:41 +0000 Subject: [PATCH] Add example for aws.aws_profile --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 70d7470..96dec6d 100644 --- a/README.md +++ b/README.md @@ -92,6 +92,13 @@ it will attempt to read credentials from environment variables first and then from `$HOME/.aws/`. You can choose your AWS profile and files location by using `aws.aws_profile` and `aws.aws_dir`, however environment variables will always have precedence as defined by the [AWS documentation](http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html). +To use profile `vagrantDev` from your AWS files: +```ruby + # this first line can actually be omitted + aws.aws_dir = ENV['HOME'] + "/.aws/" + aws.aws_profile = "vagrantDev" +``` + ## Box Format