This is the 5th installment of Information Vault. In this one there is working code for storing Private data Metadata and removing it from the vault. Also authorization to use the API Gateway has been added with a custom Lambda. There are test cases to validate the ownership of data and authorization of requests is now made against a hardcoded list of users. All the code can be found on. https://github.com/mtzmontiel/dip-data-vault Continue reading for code snippets and details. Let’s focus on authorization with AWS API Gateway, for this I’ll be mocking part of the flow as this is a simple example but it will help understand how this can be used in a production ready environment. The first important decision regards to the identifier assigned to each principal, for this example I’ll be using a finite enumeration of 2 users, but will not use those as the authentication mechanism. For that I’ll be using JWT but as authentication is outside of the scope I will be providing tho...
Sometimes Information Technology befuddles me and so does programming, here you will find my attempts to gain insights or fall deep in IT. Here be dragons