Confusing interface of no_credentials()
for config
#971
Labels
bug
This issue is a bug.
documentation
This is a problem with documentation
p2
This is a standard priority issue
pending-release
This issue will be fixed by an approved PR that hasn't been released yet.
Describe the bug
So, I am not quite sure it's a bug or intended, but I am trying to use locally running DynamoDB provided by NoSQL workbench for integration testing and general development loop, thus I need to connect SDK to the
http://localhost:8000
instance of DynamoDB.I tried to play with no_credentials() thing for a little while, but it doesn't really workout with the following error:
And in the same time, shall I introduce silly Credentials provider, it will work alright.
Now, as much as there's though seemingly silly, but robust workaround, it does feel that implementation of
.no_credentials()
is somehow incomplete and this use-case shall be covered by it.As in, I, as a user of the sdk, when seen this method - it seemed natural for me to assume that it is exactly what I need, but somehow it was not.
Also, if I am doing something fundamentally wrong, I am happy to stand corrected.
Expected Behavior
Either no_credentials() on on
aws_config::ConfigLoader
removes any checks/validations for authentication from any client build with such config, or maybe it shall be renamed to something a bit more narrow if it was not the intent for the method.Current Behavior
For dynamodb, at least, when building client with
.no_credentials()
config, one gets an error:Reproduction Steps
Run the following snippet with locally running DynamoDB
Possible Solution
No response
Additional Information/Context
No response
Version
The text was updated successfully, but these errors were encountered: