Skip to content

How to give full S3 Storage access to an "Admin" Cognito Group #5652

Closed
@blazinaj

Description

@blazinaj

** Which Category is your question related to? **
Storage, Auth
** What AWS Services are you utilizing? **
Amplify, Appsync, S3, Cognito
** Provide additional details e.g. code snippets **
I have Auth set up in my React Amplify app so that Cognito users in an "Admin" Cognito Group have full access, while all other users have limited access.

I need a way to allow all users to upload documents to S3 storage, and provide access controls based on Cognito Groups, particularly one "Admin" Cognito group having access to all files. Right now only the Logged In user that uploaded a file can successfully Storage.get() it from Storage.

I've been playing around with Bucket policies and IAM roles, but haven't been able to figure it out. I am sure there is a simple solution! Any help would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    authIssues tied to the auth category of the CLIpending-responseIssue is pending response from the issue authorquestionGeneral questionstorageIssues tied to the storage category

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions