I'm curious if there's a way to log into AWS SSO without needing any manual input—like using a script to do it automatically. Any insights on this? Thanks!
2 Answers
Yes, starting from AWS CLI version 2.32.x, you can use the `aws login` command which allows you to perform an SSO login without having to interact with it manually. Just make sure you're running that version or higher! If you need complete automation, you should also look into AWS IAM Roles Anywhere as it works well for scenarios requiring no human interaction.
You could technically set up a system where you store the credentials needed for an SSO login, but honestly, using AWS access keys might be a simpler solution. It could save you some time and hassle compared to handling SSO logins automatically.

Related Questions
How To Get Your Domain Unblocked From Facebook
How To Find A String In a Directory of Files Using Linux