Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AWS CLI2 -- Access via Federated SSO - Where to Obtain the 'SSO start URL'?

We have the AWS Console federated to our Shibboleth IdP (SAML).

Does AWS CLIv2 support using federated account to CLI access via SSO? If so -- where can I find the 'SSO start URL' listed in link below?

https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html

like image 669
user353829 Avatar asked Nov 16 '25 21:11

user353829


2 Answers

When using the Amazon Identity Center, immediately after login there is a screen titled "AWS access portal" with all the accounts that identity can access. The SSO sign-in info along with other very useful secrets can be found via the "Access keys" link off that page which looks like this:

enter image description here

like image 126
Steve Bonds Avatar answered Nov 19 '25 14:11

Steve Bonds


The other answers did not work for me. What I found to work was going to my organization's AWS landing page ({my-organization}.awsapp.com/start#/), and then there is a link under "AWS Account" called "Command line or programmatic access," which when clicked reveals instructions for setting up the CLI, including the SSO start url.

like image 27
sdg Avatar answered Nov 19 '25 14:11

sdg



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!