-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add ability to assume role using config param
role_arn
(#56)
* update docs for new config param `role_arn` update readme for new config param `role_arn`. `role_arn` can be used to specify a role that should be assumed for appropriate access to s3. * add support for assuming a role via `role_arn` if `role_arn` is specified, first a session is created using this role, and then an s3 client is created with the session in the assumed role. * added `role_arn` to known config params * add clarifying comments & an INFO log message * fix typo: endpoint_params * fix format: RoleSessionName * remove hard-coded `Meltano` * bump version to 1.2.1 * add test for assume role
- Loading branch information
Showing
8 changed files
with
58 additions
and
12 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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"add_metadata_columns": false, | ||
"aws_access_key_id": "ACCESS-KEY", | ||
"aws_secret_access_key": "SECRET", | ||
"s3_bucket": "BUCKET", | ||
"temp_dir": "tests/output", | ||
"memory_buffer": 2000000, | ||
"compression": "none", | ||
"timezone_offset": 0, | ||
"naming_convention": "{stream}-{timestamp:%Y%m%dT%H%M%S}.jsonl", | ||
"role_arn": "arn:aws:iam::123456789012:role/TestAssumeRole" | ||
|
||
} |
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