Make CredentialsProvider return a pointer.
Added IAM credentials.

Closes #6. Closes #13.