MicrochipTech / cryptoauth_trustplatform_designsuite

The Trust Platform for CryptoAuthenticationâ„¢ is a combination of multiple elements to simplify the addition of security to any embedded design. This platform includes Hardware protyping tools along with a unique design suite to accelerate the prototyping of the most common use cases.
Other
14 stars 12 forks source link

TrustnGO/deprecated_01_aws_connect Microchip_manifest_handler.py import_certificate doesn't work #9

Open ghost opened 3 years ago

ghost commented 3 years ago

When I run TrustnGO/deprecated_01_aws_connect/notebook/TNGTLS_aws_connect.ipynb I get an Unknown service error and cannot complete the certificate registration.

In the import_certificate() function, "client2 = boto3.client('iot2')" seemed to cause an error, so I changed it to "client2 = boto3.client('iot')" and it worked!

I think there is no service name for 'iot2' and it is a bug caused by a simple description error.

I read the boto3 documentation and there is no mention of 'iot2', so 'iot' seems to be correct. https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/iot.html#client