AWS/Azure/OpenShift

Creating Profiles for your AWS Access Credentials for AWS Toolkit in Visual Studio

image-190

With the AWS Toolkit for Visual Studio, you can interact with different AWS services. You need an IAM account that has all the necessary permissions to interact with these services. It is very possible to create a profile through the help of a toolkit that provides access to all the AWS services. The access keys which was created through the IAM console will be configured on the profile which will form the access credentials for AWS Toolkit for Visual Studio. Note that it is very possible to store multiple profiles in shared AWS credentials files or in the SDK Store for anyone you choose. The following guides can help you with your daily deployments to the AWS platform: How to deploy a .NET application to AWS Elastic Beanstalk using AWS Tool Kit, How to Deploy MVC Application to AWS EC2 Using RDP Connection and Web Deploy, How to Deploy Dynamic Website to AWS EC2, Hosting Static Website and Versioning on AWS S3, How to deploy an Angular App to AWS S3, How to manage cost with AWS Budgets, Creating IAM Users, Adding MFA and Policies on AWS.

In this guide, I will be showing you how to use the AWS Explorer interface in the AWS Toolkit for Visual Studio to add profiles to your AWS credentials

Follow these steps in obtaining access keys for a profile

image-181
Identity and Access Management (IAM)
  • Click on Users from the navigation bar and then choose your AWS user name.
image-182
Identity and Access Management (IAM)
  • Now select Click the Security credentials tab, and then click Create access key button.
image-183
Creating your access key

Immediately you click on the Create access key button the dialog box that shows your access key ID and secret access key will be displayed, choose Download .csv file and store it in a secure location.

image-184
Downloading the .csv file

After you’ve stored your access keys securely, you can then add them to the set of credentials defined by a profile.

How to add a profile to the SDK Store or the shared AWS credentials Using AWS Explorer

Follow the below steps on how to add a profile to the SDK Credential Store or the shared AWS credentials file:

  • Open your Visual Studio and click on the View tab, select AWS Explorer.
image-185
AWS Explorer
  • At the top left click on the New Account Profile icon to the right of the Credentials.
image-186
Credentials and Region Input

The New Account Profile dialog box opens. To create the credential profile, enter all the details in the dialog box below and import the downloaded .csv file and then choose OK.

image-187
New Account Profile Dialogue Box

After clicking OK you should get the below image showing your credentials and region and displays different AWS Services. When you see this it means the new account profile creation is successful.

image-188
Account profile created successfully

I hope you found this blog post on Creating Profiles for your AWS Access Credentials for AWS Toolkit in Visual Studio very interesting and helpful. In case you have any questions do not hesitate to ask in the comment section.

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x