Sign IoT Request With SigV4 - Device Limits?

0

Hello,

I would like to use SigV4 for client authentication with IoT. One issue that I see is - the access key / secret key combination, which corresponds to an IoT device, corresponds to a single IAM user. There is a limit of 5,000 users, from what I understand, which is a problem.

Is there a scalable way to use SigV4 to authenticate IoT devices?

Thank you.

已提問 1 年前檢視次數 246 次
2 個答案
0

May be another option is to explore credentials provider. AWS IoT Core has a credentials provider that allows you to use the built-in X.509 certificate as the unique device identity to authenticate AWS requests. This eliminates the need to store an access key ID and a secret access key on your device.

The credentials provider authenticates a caller using an X.509 certificate and issues a temporary, limited-privilege security token. The token can be used to sign and authenticate any AWS request. This way of authenticating your AWS requests requires you to create and configure an AWS Identity and Access Management (IAM) role and attach appropriate IAM policies to the role so that the credentials provider can assume the role on your behalf.

Reference : https://docs.aws.amazon.com/iot/latest/developerguide/authorizing-direct-aws.html

profile pictureAWS
專家
已回答 1 年前
0

You can use Cognito Identities to use SigV4 to authenticate an IoT client. There are no limits on how many Cognito Identities you can have in the account. Cognito Identities are useful when the connection is established based on a user authentication, for example when you have an application that needs to communicate with IoT Core. If the authentication is for a device, you should use X.509 certificates or Custom Authorizers.

AWS
專家
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南