When using Access Keys I got used to setting the default profile in my credentials file and it worked just fine. When I began having to manage more accounts and switched to SSO, updating the default profile becomes more of a pain. I will show you a couple of ways to authenticate the SDK using named profiles.
I'm Andres Moreno, Lead Software Engineer at Tyler Technologies. I focus on serverless techonology in AWS