AWS IoT Connection¶
AWS IoT application on Connect iPaaS uses Basic authorization. By linking your AWS IoT account with Connect iPaaS, you are permitting RoboMQ to perform certiain actions on your AWS IOT account. RoboMQ needs the following permissions on your account to provide a seamless integration experience.
For Trigger¶
Object | Permission |
---|---|
IoT Subscribe Permission | To receive a message from AWS IoT |
IoT Receive Permission | Checked every time when message delivered to client |
IoT Connect Permission | To Connect AWS IoT |
IoT DescribeThing Permission | To display information about IoT device |
IoT Receive DescribeThingType | To receive information about IoT device |
IoT ListThingTypes Permission | To display a list of Thing types |
IoT ListThings Permission | To listing all the Things |
For Action¶
Object | Permission |
---|---|
IoT Connect Permission | To Connect AWS IoT |
IoT Publish Permission | To Publish a message to AWS IoT |
For establishing the AWS IoT connection, you need to provide an access key, a secret access key, AWS IoT Endpoint and AWS-region of your AWS IOT.
Figure 1: Create AWS IoT Connection
Steps to find your Access Key, Secret Access Key and Endpoint :
- Use your AWS account email address and password to sign in to the AWS Management Console as the AWS account root user.
- If you see a warning about accessing the security credentials for your AWS account, choose to Continue to Security Credentials.
- Expand the Access keys (access key ID and secret access key) section.
- Choose Show Access Key to copy the access key ID and secret key from your browser window and paste it somewhere else.
- During access to key creation, AWS gives you one opportunity to view and download the secret access key part of the access key. If you don't download it or if you lose it, you can delete the access key and create a new one.
- A guide can be found for the access key and secret key here.
- You can find the endpoint in the AWS IoT console on the thing's details page or the client by using the AWS IoT CLI command: aws iot describe-endpoint --endpoint-type iot:Data-ATS
- A guide can be found for AWS IoT endpoint here