-
Notifications
You must be signed in to change notification settings - Fork 95
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
Warn if no credentials are in effect for S3 #473
Comments
I've been thinking about this.
They might not be using AWS env vars. I think this is quite hard to do actually. Maybe we should focus our efforts on standardising the URI instead? |
Yeah, I don't want to tightly couple to any AWSSDK-specific stuff, either. Maybe something like: if no explicit credentials or
I am not sure that would necessarily help. My understanding of the user's issue is: the library appears to "open" successfully but the first call fails with an opaque error. |
I think that's a good idea. Maybe just HEAD the bucket? Hope that would give a non-200 if you don't have any creds. |
We need to be careful not to let this overload storages though. Would be adding a new request per object creation. |
+ warn if AWS auth is being used and machine identity is disabled + Refactor S3 fixtures so various errors can be simulated
+ warn if AWS auth is being used and machine identity is disabled + Refactor S3 fixtures so various errors can be simulated
+ warn if AWS auth is being used and machine identity is disabled + Refactor S3 fixtures so various errors can be simulated
+ warn if AWS auth is being used and machine identity is disabled + Refactor S3 fixtures so various errors can be simulated * Removed pytest-server-fixtures dependency which is a bit old and we only use function
+ warn if AWS auth is being used and machine identity is disabled + Refactor S3 fixtures so various errors can be simulated * Removed pytest-server-fixtures dependency which is a bit old and we only use function
+ warn if AWS auth is being used and machine identity is disabled + Refactor S3 fixtures so various errors can be simulated * Removed pytest-server-fixtures dependency which is a bit old and we only use function
+ warn if AWS auth is being used and machine identity is disabled + Refactor S3 fixtures so various errors can be simulated * Removed pytest-server-fixtures dependency which is a bit old and we only use function
+ warn if AWS auth is being used and machine identity is disabled + Refactor S3 fixtures so various errors can be simulated * Removed pytest-server-fixtures dependency which is a bit old and we only use one function
+ warn if AWS auth is being used and machine identity is disabled + Refactor S3 fixtures so various errors can be simulated * Removed pytest-server-fixtures dependency which is a bit old and we only use one function
+ warn if AWS auth is being used and machine identity is disabled + Refactor S3 fixtures so various errors can be simulated * Removed pytest-server-fixtures dependency which is a bit old and we only use one function
+ warn if AWS auth is being used and machine identity is disabled + Refactor S3 fixtures so various errors can be simulated * Removed pytest-server-fixtures dependency which is a bit old and we only use one function
+ warn if AWS auth is being used and machine identity is disabled + Refactor S3 fixtures so various errors can be simulated * Removed pytest-server-fixtures dependency which is a bit old and we only use one function
Also, warn if AWS auth is being used and machine identity is disabled
Is your feature request related to a problem? Please describe.
When setting S3 credentials via environment variables,
aws_auth=true
also has to be set, but there's no explicit information about this.Describe the solution you'd like
Possibilities:
AWS_*
environment variables are set butaws_auth
is not.The text was updated successfully, but these errors were encountered: