I am looking into using AWS-Cognito as a means to manage and authenticate users. I do not want to use aws api-gateway or any of their other services really. It seems though you can only create roles or policies if they are related to some other aws service. I'd like to have these custom roles or policies on the user's id token returned from Cognito. Is it possible to create these custom roles or policies or am I restricted to only roles and policies related to amazon services? I have found tried the Create your own policy, but it throws an error if it doesn't match a specific action or resource known to aws services. Thanks.
Creating custom Roles and Policies
1.2k Views Asked by Trevor At
1
There are 1 best solutions below
Related Questions in AMAZON-COGNITO
- Why does terraform aws_cognito_user_pool always show as "updated in-place" on every single terraform plan?
- AWS Cognito Multi-tenant Integration | Ok to use Client’s Idp?
- How do I set custom attributes on a user who signs up via amplify's Authenticator?
- Python AWS Cognito authenticate to other user pool as in Javascript
- How to use multiple user pools with AWS Amplify in React?
- Integrating Sign in with Apple into React Native App with AWS Cognito Authentication
- Secure to share Access Token over public API using CORs?
- Automating Password Reset in Cognito Hosted UI for Users with Expired Temporary Passwords
- How can I add an identity provider to an existing user in an AWS Cognito user pool using the OIDC protocol?
- How to use Android S3 TransferUtility without Cognito?
- can not import Auth from aws-amplify in Angular even though docs says I can
- AWS Cognito SES FROM E-mail address only verified e-mail address allowed no verified domains
- Google signin for aws cognito using Amplify not working. | signInWithRedirect in amplify not working in React native
- AWS AppRunner: Redirect URI Mismatch Error with Amazon Cognito
- Add Cognito to Load Balancer Listener via AWS CLI
Related Questions in AWS-IOS
- Amazon Cognito + iOS Swift - Custom UI
- How to subscribe multiple topics in "AWSIoT" iOS SDK?
- Error Running Amplify Push after Running Amplify Auth Update
- iOS AWS API Gateway : Unauthenticated access is not supported for this identity pool
- Is it possible to prepolulate an AWS AppSync iOS client?
- AWS Lambda - The role defined for the function cannot be assumed by Lambda
- Cognito isSignedIn latency issue after successful login
- Creating custom Roles and Policies
- AWS Cognito synchronize issue with AWSCognitoDataset iOS
- AmazonClientManager - Issue with resumeSessionWithCompletionHandler in AWSCognito GPlus Login iOS
- Query AWS Dynamo Db Data base using an Array
- how to facebook user authentic in AWSAmazon identity pool id
- aws ios sdk - Issue downloading images from s3
- AWS S3 : iOS SDK - AWSContentDownloadTypeIfNewerExists not working
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You can use Cognito User Pools to authenticate your users. Then you can call STS to issue temporary credentials based upon your own rules (policies). Look into examples using assumeRole().
If you want an integrated / managed service then use Cognito Federated Identities for authorization and Cognito Users Pools or Google, etc. for authentication.
Sort of confusing, but think of Cognito User Pools (or Facebook, etc.) as the Identity Provider and Cognito Federated Users as the Permissions broker.