Site icon TechDirectArchive

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

AWS Toolkit for Visual Studio

With the AWS Toolkit for Visual Studio, you can interact with different AWS services. Furthermore, 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. Meanwhile, 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.

How to get AWS Access Credentials for AWS Toolkit in Visual Studio

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

Obtaining access keys

AWS IAM Dashboard
Identity and Access Management (IAM)
Choose your AWS Username
Identity and Access Management (IAM)
Click on Security Credentials and Create Access Key
Creating your access key

So, 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. Thus, choose Download .csv file and store it in a secure location.

Create Access Key and Download CSV file
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

Execute the subsequent steps to add a profile to the SDK Credential Store or the shared AWS credentials file:

Select AWS Explorer in Visual Studio Vioew tab
AWS Explorer
Click on create Account
Credentials and Region Input

The New Account Profile dialog box opens. Then, craft the credential profile by inputting details in the dialog box below. Afterward, import the .csv file and select OK.

Enter details and import CSV file
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.

Account profile created successfully
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.

Exit mobile version