forked from hashicorp/go-getter
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support query parameter aws_profile for S3 (hashicorp#261)
Add support for aws_profile query parameter to allow fetching from S3 using that specified profile. Before this, that did not seem possible, even setting AWS_PROFILE environment variable did nothing. Now it is possible to provide the profile directly in the url, making it more flexible. Example of usage: s3::bucket.s3.amazonaws.com/file?aws_profile=some-profile
- Loading branch information
1 parent
7ac233b
commit 0bf0a11
Showing
2 changed files
with
36 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters