-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Cannot instantiate an Aws::S3::Encryption::Client with a passed :region option; only works when ENV['AWS_DEFAULT_REGION'] is set #800
Comments
Sorry for the confusion. I just pushed a commit that will correct the documentation. You can accomplish what you'd like this way: s3 = Aws::S3::Client.new(region:'...', credentials: ...)
s3 = Aws::S3::Encryption::Client(client: s3) |
I've added the ability for you to pass client construction options directly to the encryption client. This allows you to now do the following without using the s3 = Aws::S3::Encryption::Client(region:'...', credentials: ...) |
Thanks for reporting the issue. I hope this update helps. |
thx; i'll check it out when a release comes out |
The text was updated successfully, but these errors were encountered: