Re:Show HN: A tool to seed your dev database with real data
by atonse on Wednesday April 27, 2022 @07:41PM
(#31187183)
Should work out of the box if they’re using the rust AWS library right?
[ Parent
| on HN ]
Re:Show HN: A tool to seed your dev database with real data
by mdaniel on Wednesday April 27, 2022 @08:30PM
(#31187491)
That was the "I can't grok the docs.rs in order to tell you" part; in boto and the sane SDKs, there's a bunch of "Credential Providers" and they're in a list, meaning some are tried before others
I have no idea what implementations there are for this: https://docs.rs/aws-sdk-s3/latest/aws_sdk_s3/struct.Credenti... and its official page is even worse: https://docs.aws.amazon.com/sdk-for-rust/latest/dg/credentia...
Going all the way down to the GH readme seems to back up the investigation that, no, they really seem to have forgotten about "AWS_SESSION_TOKEN": https://github.com/awslabs/aws-sdk-rust#getting-started-with...
Re:Show HN: A tool to seed your dev database with real data
by simtel20 on Thursday April 28, 2022 @12:36AM
(#31188775)
Not sure if this is any better than the docs (which are raw, at best) - I'm a middling beginner rust programmer, but I did do this test[1] for myself and it matches most of the other SDKs.
[1] https://github.com/pcn/check-assume-role-s3/blob/master/src/...