Database Reference
In-Depth Information
Creating your own custom authentication
Some people might not want to integrate their application with other companies, such as
Facebook, Google, or Amazon, as it creates a dependency on them, and if some day, any
one of these companies stops giving identity tokens, then as an app developer or owner,
you would be in big trouble. So, is there any way other than shipping actual AWS creden-
tials with your app code? The answer is yes!
In this case, you need to implement your own identity store, and you need to give the iden-
tity token. You can use AWS EC2 or your own server to deploy your identity store and dir-
ect all your requests to this store to get the secure token. And the rest remains the same. I
mean that once you have an identity token from your own provider, you can then call STS
to get temporary credentials, and once you have the credentials, you can access the Dy-
namoDB API to perform the operation. This is demonstrated in the following diagram:
Search WWH ::




Custom Search