API Access Keys

Note well, these instructions assume you have added the IAM Policy as described here.

Steps

1.) Identity & Access Management Console

Login to the AWS console and access the Identity & Access Management service.

  1. Users. Click on Users on the left navigation window.

  2. Add User. Click on the Add User button.

../../_images/addcloud02.png

2.) Set User Details

a. User name. Enter a user name to denote that this account is used for TRiA. As an example you could set the user to TRiA-API-Access. By creating a specific TRiA user, you are then able to monitor in CloudTrail all actions taken by that user, which helps you understand what TRiA is doing versus what other users are doing and facilitates troubleshooting.

b. Programmatic Access. Check Programmatic access as an Access type. That allows TRiA to call APIs programmatically.

  1. Permissions. Click on Next: Permissions.

../../_images/addcloud03.png

3.) Set Permissions

a. Attach Existing Policies Directly. Choose Attach existing policies directly.

b. Select. Select your newly created policy, e.g., TRiA-PowerUser-Policy. You can find it by filtering your results by name.

  1. Review. Click on Next: Review.

../../_images/addcloud12.png

4.) Create User

Click on Create user after confirming that your User name and AWS access type are correct and that your Permissions summary displays the policy that you just created.

../../_images/addcloud13.png

5.) Confirm

You should receive a Success message from the console at this point. Assuming that you have, you will see your user listed along with an Access key ID and Secret access key. Do not close out this screen until you have saved your Access key ID and Secret access key. You will not get another chance to do so (start over again if you did by accident). You can save your keys by clicking on Download .csv, copying & pasting the values, or, as documented here, entering the values in TRiA directly. However you choose, you will need your Account Number, Access key ID, and Secret access key.

../../_images/addcloud14.png

6.) TRiA

Go to your TRiA account.

7.) Add Cloud

Navigate to Clouds on the left-hand menu. Click on Add Cloud in the upper right.

../../_images/addcloud15.png

8.) Enter Cloud Information

  1. Select the type of cloud account in the Select Technology dropbox.

  2. Name your cloud account.

  3. Enter your Account Number (without dashes).

  4. Choose API Key/Secret from the Authentication Type dropbox.

  5. Enter your Access key ID in the API Key box.

  6. Enter your Secret access key in the Secret Key box.

  7. Click on Submit.

../../_images/addcloud16.png

9.) Confirm

You should see a screen that indicates you have successfully added a cloud account. TRiA will begin harvesting immediately and the data should start to surface afer five minutes or so depending upon the size of your cloud account.

You can see your cloud account is added by selecting Clouds in the left-hand side navigation menu and confirming that your newly added cloud account is listed.

../../_images/addcloud17.png