VScode only takes default AWS profile, How to change profile in AWS explorer from default to other.

0

we have different account for AWS, we are running AWS toolkit from VScode, I was able to setup our sso account profile in config file for different account and we are able to successfully login through Terminal. But, There is a AWS explorer window that let you connect to your AWS Profile account but it only takes Default profile, how do we add another profile for SSO account in AWS explorer? Enter image description here

已提問 1 年前檢視次數 894 次
2 個答案
0

Hello,

I hope you're doing well.

Thank you for reaching out to us with your concern.

I understand that you have few queries related to changing the profile in AWS explorer window. I am answering the queries below:

Q : There is a AWS explorer window that let you connect to your AWS Profile account but it only takes Default profile, how do we add another profile for SSO account in AWS explorer?

    From the Screenshot I could see that you have connected with default profile. Because of this it only takes default profile. To resolve this, I would request you to create a separate profile by referring to the document[1] and then connect using the profile which you created. 

Incase if you're still facing the issue, I would request you raise a support case ticket, where we can go deep dive into the resources to find out the actual root cause.

Thank you! Have a wonderful day!

Reference:

[1] https://docs.aws.amazon.com/toolkit-for-visual-studio/latest/user-guide/keys-profiles-credentials.html

AWS
已回答 1 年前
0

I understand I have default profile selected that's why it take default profile but it doesn't show me option to add another profile like it shows up in the reference documents. And as per document it ask for Access key Id, we use SSO for login and from there we have multiple account we can login. We also dont have IAM role in each account as we use IAM SSO so cant create Accesskey ID and key.

已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南