Controller Beta
Pre-release
Pre-release
moved much of the controller action to a separate controller class and cleaned up a lot of code.
I also added tests which I will document in a later release.
DO NOT USE WITH AWS CLI
Unfortunately, AWS CLI doesn't follow REST implementation all that well, I think, and tries to hit /latest/meta-data/iam/security-credentials/
instead of /latest/meta-data/iam/security-credentials
which causes this server to get a key for the default role (which I think is how it should work, IMO) and crashes the cli client which isn't expecting json as output (which I think is incorrect, IMO, AWS CLI should be smarter).
see issue 6 for more info. A fix is forthcoming.