try/catch around getting aws creds