![]() In this case, it's the ARN of the virtual device you set up in Step 3. Mfa_serial: Specifies the identification or serial number of the MFA device that the user must use when assuming a role. In this case, it's the ARN for the role you created in Step 1. The supported features include: Creating new templates (either empty or copied from an existing stack or sample template) using the supplied AWS CloudFormation template project type. Role_arn: Specifies the Amazon Resource Name (ARN) of the IAM role that you want to use to perform operations requested using this profile. The Toolkit for Visual Studio includes an AWS CloudFormation template editor and AWS CloudFormation template projects for Visual Studio. In this case, it's the toolkit-user profile. Source_profile: Specifies the profile whose credentials are used to assume the role specified by this role_arn setting in this profile. profile defines how multi-factor authentication is supported. profile includes the access key and secret access key that were generated and saved when you created the IAM user in Step 2. There are two profiles defined in the example provided: Then in visual studio AWS connection choose this MFA profile to switch roles.Īdditional entries can be added for multiple accounts. Mfa_serial = arn:aws:iam::111111111111:mfa/toolkit-user ( ARN of the AWS IAM User of standard user ) Role_arn = arn:aws:iam::111111111111:role/toolkit-role ( ARN of theĪWS IAM Role - this is the account where you want to switch role) Go to Visual Studio -> Settings icon -> Settings -> search for Proxy -> Remove http proxy if any -> uncheck Http: Proxy Strict SSL -> restart Visual studio code. Īws_access_key_id = AKIAIOSFODNN7EXAMPLE ( your aws programatic access key )Īws_secret_access_key = wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY (your aws programatic secret key) credentials file located C:\Users\USERNAME\.aws\credentials. ![]() This solution worked for me and I am posting this answer for the community. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |