Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide helper methods to use boto3 instead of the minio client #82

Open
devraj opened this issue Aug 12, 2023 · 1 comment
Open

Provide helper methods to use boto3 instead of the minio client #82

devraj opened this issue Aug 12, 2023 · 1 comment
Assignees

Comments

@devraj
Copy link
Member

devraj commented Aug 12, 2023

Is your feature request related to a problem? Please describe.
While working on an AWS project using this stack, we realised that we have to use boto3 for various things like accessing the SecretsManager and objects in s3 when the environment exchanges credentials using IAM policies (where the application itself does not need the keys to access the bucket).

It would be nice to provide a boto3 wrapped up to work with this stack.

Describe the solution you'd like
A set of wrapper methods on the s3_file_metadata table that allow us to work with IAM managed s3 buckets. These can be specifically be prefixed with aws_ to indicate that they work in an AWS managed environment only.

Secondly consider best practices around working with multiple buckets, in our use case we use a bucket to provide media files (accessed via a CDN) and the the other has user generated content which are only to be accessed via signed urls.

As for documentation it will be helpful to provide assumptions and samples.

Describe alternatives you've considered
NA

Additional context
See aws-eks-cluster for a terraform deployed AWS environment which is setup in the way described above.

@devraj devraj self-assigned this Aug 12, 2023
@devraj
Copy link
Member Author

devraj commented Oct 29, 2023

See also #19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant