hashicorp / go-secure-stdlib

Mozilla Public License 2.0
64 stars 24 forks source link

awsutil: add GetCallerIdentity to Create/Rotate #10

Closed vancluever closed 3 years ago

vancluever commented 3 years ago

This adds GetCallerIdentity to CreateAccessKey and RotateKeys. The latter is done simply by passing WithTimeout through to the inner CreateAccessKey on Rotate. As such, both paths are conditional on a non-zero WithTimeout option being given - this is to ensure that we don't try to immediately verify, which is likely to always fail.

vancluever commented 3 years ago

@jefferai changes made, should be good to go!