Earlier quoted context omitted.
What's wrong with using temporary credentials?
They add useless latency and another point of failure. And sometimes, the AWS APIs DO fail.
A Tour of Amazon's DynamoDB
31–32 of 32 posts
Re: A Tour of Amazon's DynamoDB
#32Earlier quoted context omitted.
They add useless latency and another point of failure. And sometimes, the AWS APIs DO fail.
Temporary credentials are used specifically to reduce latency, since you get a token that is valid for a period of time and doesn't need to be checked against the auth service on every call. Since the credentials last for 12 hours the work to retrieve them should be negligible. Because they don't need to be checked against the auth service on every call it seems like they would more resilient to API failure than stan…
And for the love of God, don't blindly trust the documentation / what the AWS folks say. As an AWS library author myself, I had a lot of fun debugging failed requests because the smarty who wrote the signing procedure docs forgot to mention some HTTP headers that are mandatory to sign. I had to reverse engineer an official SDK in order to patch my own code. While being implemented as the docs say, the signing method failed at every request, although I had a valid session token. Trial and error is always a broken way of developing things due to broken docs. If you're an AWS employee, please send my regards to the documentation folks.