Which service should I use to authorize client applications running on desktops?

0

Hello, I have a client application written in Java that is running as a desktop app. I want it to communicate with my API. The problem is I want to prevent unauthorized clients from to connecting the API. At first, I was considering using some kind of API keys, but then I thought that maybe IoT core will be a better option. I could authorize clients with certificates. What do you think, would that be the best choice?

已提問 1 年前檢視次數 216 次
2 個答案
2
已接受的答案

Using AWS IoT Core to authenticate desktop apps is definitively an option. You can use X509 certificates which can be stored in the OS keychain, and you can also use the certificate to obtain temporary STS credentials in order to directly access AWS services in case MQTT protocol is not sufficient. With AWS IoT Core you can also leverage additional services like Device Defender, Registry, Fleet Indexing, which are not available when using API Gateway. Another main difference is that with AWS IoT Core you do not need to maintain a PKI infrastructure to manage the certificates.

You would still need to solve how the app obtains its unique certificate, one option being using Fleet provisioning.

AWS
專家
已回答 1 年前
profile picture
專家
已審閱 4 天前
  • Thanks, I think this is exactly what I'm looking for.

1

What about using Cognito for user authentication management?
Simple authentication processes can be created with Cognito.
https://aws.amazon.com/jp/cognito/

profile picture
專家
已回答 1 年前

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

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

回答問題指南