aws toolkit for visual studio code use credentials file code example

Example: AWS visual studio code vsc credentials

* You must have installed AWS Toolkit
1. In Visual Studio Code press Str + Shift + P
2. Find "AWS Create Credentials Profile"

// structure of file
[dummyName] // your profile name (with '[' and ']') - can be whatever
aws_access_key_id = ABCD1234 // here past your access key, you will find it on your AWS account: IAM -> Users -> User X -> Security credentials -> Access keys tab
aws_secret_access_key = DCBA4321 // your secret key

after save you should be connected

Tags:

Misc Example