Тёмный

How to log into AWS SSO from the command line 

Rich Develops
Подписаться 223
Просмотров 22 тыс.
50% 1

Learn how to configure the AWS CLI so you can log into the AWS IAM Identity Center (formerly AWS SSO) from the command line and get temporary credentials for use with the AWS and SAM CLI's.

Опубликовано:

 

29 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 33   
@sandunmadushan1732
@sandunmadushan1732 6 месяцев назад
Thanks for creating this
@MM-sl3mo
@MM-sl3mo 6 месяцев назад
What if I don't want to use CLI? What if I want to use Workbench or pgAdmin for example? Connecting to a resource should not be this complicated and look as if it is happening in 1990. It is 2024 for gods sake.
@SenderoSeeker
@SenderoSeeker Год назад
Thanks for the tutorial, very helpful!
@richdevelops
@richdevelops Год назад
Glad it was helpful!
@prathimaalapati4784
@prathimaalapati4784 Год назад
Hi Thanks for the tutorial . I have a situation where in config would have both sso profiles and also awsume profile. Before i use the profile. i explicitly set export AWS_profile but i could not get it working.
@carlosmiguelasteteaguilar1083
Nice job. :D
@richdevelops
@richdevelops Год назад
Thanks! 😄
@DandaDevOps
@DandaDevOps 27 дней назад
Using the region where IAM Identity Center was a blocker for me. Get errors like invalid_grant > Invalid grant provided. Upon using the correct region it worked great.
@Polovene
@Polovene Год назад
trying this today (6 months after video) and there's now a prompt for session name and registration scope
@ronenfe
@ronenfe 2 месяца назад
session name you can put the recommended, I left the registration scope as the default.
@23sudheer
@23sudheer 2 месяца назад
Nice work but still after logging in the profile I can able to list my s3 buckets by running "aws s3 ls -profile name" without the profile name cant we run just like aws s3 ls ?
@richbuggy
@richbuggy 2 месяца назад
You could set one profile as the default but I find it's better to not have a default profile and use the --profile option instead because you're probably going to be dealing with multiple accounts/profiles.
@appumistry
@appumistry 9 месяцев назад
This is the one that finally worked for me after hours of docs reading a web surfing. Thanks a ton!
@richdevelops
@richdevelops 9 месяцев назад
Glad it helped!
@Jimbrig2011
@Jimbrig2011 Год назад
Would be nice to mention dealing with SSL issues (self-signed) given that SSO is typically used in a corporate environment behind a proxy/VPN with trusted certs.
@richdevelops
@richdevelops Год назад
Can you tell me more? I don't use it behind a proxy/VPN so I'm not aware of this issue.
@vtrandal
@vtrandal 11 месяцев назад
Excellent. Can you provide an example AWS CLI command that does not work if I am not logged in after aws configure sso?
@rfp3736
@rfp3736 Год назад
Very nice tutorial, I had no problem using it, what I was not able to make it work is using VS with aws toolkit
@hatemsobieh3827
@hatemsobieh3827 Год назад
Nice video and info , i was looking for this specific info this week along time. Thanks again
@jadenataylor
@jadenataylor Год назад
Mine asks for "SSO registration scopes [sso:account:access]:". Any idea on where to find that?
@richdevelops
@richdevelops Год назад
It sounds like something isn't configured correctly. This might help you docs.aws.amazon.com/sdkref/latest/guide/feature-sso-credentials.html
@richbuggy
@richbuggy 6 месяцев назад
Update: Just use the default registration scopes suggest by the CLI.
@ujjwalsinha0101
@ujjwalsinha0101 2 месяца назад
Any solution
@JustinJackson
@JustinJackson Год назад
Nice work! I like that you get into the tutorial right away. 💯
@richdevelops
@richdevelops Год назад
More to come!
@zachpalmer5538
@zachpalmer5538 5 месяцев назад
where do i get the sso url i cant find it
@ronenfe
@ronenfe 2 месяца назад
Go to: IAM Identity Center, Settings, AWS access portal URL.
@jdeep7
@jdeep7 8 месяцев назад
It shows No AWS accounts are available to you.
@nicolas5159
@nicolas5159 8 месяцев назад
Exact same thing for me :/
@ronenfe
@ronenfe 2 месяца назад
@@nicolas5159 I have the same, they are the worst
@aetheruszhou1526
@aetheruszhou1526 6 месяцев назад
So where can I find the SSO URL?
@richdevelops
@richdevelops 6 месяцев назад
You're administrator will provide that to you. If you are the administrator and you can't remember what you setup then go to IAM Identity Center and click Settings. Look for the AWS access portal URL
@ronenfe
@ronenfe 2 месяца назад
@@richdevelops This solved my problem, they don't mention you have to use this url in their bad instructions. but now I see in the cli: No AWS accounts are available to you. Their instructions are useless.
Далее
Amazon Web Service - Replace IAM Users with AWS SSO
18:06
ТАРАКАН
00:38
Просмотров 727 тыс.
Se las dejo ahí.
00:10
Просмотров 2,2 млн
Офицер, я всё объясню
01:00
Просмотров 3,9 млн
AWS CLI for Beginners: The Complete Guide
1:01:00
Просмотров 171 тыс.
API vs. SDK: What's the difference?
9:21
Просмотров 1,4 млн
How to Use AWS IAM Identity Centre with Terraform
5:49
How to configure AWS CLI keys
8:21
Просмотров 7 тыс.
The cloud is over-engineered and overpriced (no music)
14:39
Azure AD Authentication  for AWS
15:16
Просмотров 8 тыс.
ТАРАКАН
00:38
Просмотров 727 тыс.