Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add command line arguments to emulate boto3.session.Session() **kwargs #29

Open
tcram opened this issue Apr 22, 2020 · 0 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@tcram
Copy link
Member

tcram commented Apr 22, 2020

In order to better accommodate user configuration, we should add command line arguments identical to the keyword arguments used when creating a session via boto3.session.Session(). Same applies for creating a boto3 client. Command line arguments would be passed into isd_s3.get_session(). See boto3 session reference at https://boto3.amazonaws.com/v1/documentation/api/latest/reference/core/session.html for list of keywords.

Probably not all of these will be required, but I see a need for the following:

  • aws_access_key_id
  • aws_secret_access_key
  • profile_name
  • endpoint_url

I'll add this in the pyinstaller-dev branch, since I ran into this issue while building the CLI.

@tcram tcram added the enhancement New feature or request label Apr 22, 2020
@tcram tcram self-assigned this Apr 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant