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

demandé il y a un an894 vues
2 réponses
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
répondu il y a un an
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.

répondu il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions