Conversation
|
🎊 PR Preview has been successfully built and deployed to https://localstack-docs-preview-pr-1738.surge.sh 🎊 |
bentsku
left a comment
There was a problem hiding this comment.
Thanks @viren-nadkarni for the review, I'll address the comments later today 😄
| } | ||
| ``` | ||
|
|
||
| ## Integration with Cognito |
There was a problem hiding this comment.
I'm just wondering if we need a specific section on Cognito integration. Are we documenting some specialized setup that works on LocalStack, but may not work on AWS? If the implementation is straightforward and in parity with AWS, then we don't need to have a specific section on this aspect. What do you think?
There was a problem hiding this comment.
Good question. It is somewhat straightforward and the same as AWS, but I used the documentation for now to showcase this is possible to do. I think testing regular policies could be done using Cedar itself, but the custom AWS integration with Cognito and us supporting it is what is "bringing value". This could also be a proper sample maybe?
If you think it does not make sense, I'm fine with removing it
Also, there wasn't really a proper tutorial online to set this up even for AWS, otherwise I would have sent the users towards it.
Co-authored-by: Harsh Mishra <erbeusgriffincasper@gmail.com>
bentsku
left a comment
There was a problem hiding this comment.
Thanks @HarshCasper for the review! I applied your changes, and answered the question about Cognito. Let me know what you think, and then we can decide on removing it or not?
| } | ||
| ``` | ||
|
|
||
| ## Integration with Cognito |
There was a problem hiding this comment.
Good question. It is somewhat straightforward and the same as AWS, but I used the documentation for now to showcase this is possible to do. I think testing regular policies could be done using Cedar itself, but the custom AWS integration with Cognito and us supporting it is what is "bringing value". This could also be a proper sample maybe?
If you think it does not make sense, I'm fine with removing it
Also, there wasn't really a proper tutorial online to set this up even for AWS, otherwise I would have sent the users towards it.
This PR adds documentation and 2 small samples to use a newly released service that will be available with 4.4, Amazon Verified Permissions (AVP).
The first Getting Started shows how to use the basics of the service.
The second, more complex sample shows how to integrate with Cognito.
I've tried to follow the usual template we are currently using for our services.
It also indicates support for the CloudFormation resources of AVP.
Please feel free to re-visit, rewrite, re-order as you wish, hopefully this helps as a base to starts with!
Linked to preview: https://localstack-docs-preview-pr-1738.surge.sh/user-guide/aws/verifiedpermissions/