Im currently using the credential file (~/.aws/credentials) to initialize the SDK.
Credential File format.
My requirement is to switch between multiple aws accounts. I'm currently trying to resolve this by overwriting the file with new credentials and re initialize the sdk. Is there any other efficient workaround to resolve this ? Thanks in Advance.