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

Cannot use environment variables with aws-s3? #87

Open
tgmerritt opened this issue Oct 9, 2013 · 0 comments
Open

Cannot use environment variables with aws-s3? #87

tgmerritt opened this issue Oct 9, 2013 · 0 comments

Comments

@tgmerritt
Copy link

http://stackoverflow.com/questions/19282839/aws-s3-gem-will-connect-in-application-rb-but-fails-on-subsequent-uses-of-api-me

Please check the post at Stackoverflow - I believe something in your connection.rb class does something weird with the string when it's passed via an environment variable.

When I put in my keys as plaintext to the initializer - it works fine. Use a yml config and environment variables, it will connect but every other method fails (Service, Bucket, S3Object, etc.). Always complains that my key cannot be found - but I've verified the keys (and the connection is fine!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant