Erik Erikson 5bd31687b5 Use STS getCallerIdentity instead of IAM getUser
A possible fix for https://github.com/serverless/serverless/issues/3151
Switch from using IAM `getUser` to get the account ID of the current user to calling STS `getCallerIdentity`.  It is expected that this is a less protected segment of rights and will, as a result, impact fewer users.  Of course, this is hard to guarantee.
Changes tests appropriately

Related Docs:
http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/STS.html#getCallerIdentity-property
2017-01-26 18:14:15 -08:00
..
2017-01-25 15:16:38 +00:00
2017-01-14 14:04:43 -08:00
2016-11-22 12:49:26 +01:00
2016-11-22 12:49:26 +01:00
2016-11-22 12:49:26 +01:00
2016-12-13 08:24:25 +01:00
2017-01-03 13:27:00 +01:00
2016-11-22 12:49:26 +01:00
2016-11-22 12:49:26 +01:00
2016-11-27 21:55:19 +11:00
2016-12-15 16:49:57 +09:00