Title: Provide helper methods to use `boto3` instead of the `minio` client · Issue #82 · anomaly/lab-python-server · GitHub
Open Graph Title: Provide helper methods to use `boto3` instead of the `minio` client · Issue #82 · anomaly/lab-python-server
X Title: Provide helper methods to use `boto3` instead of the `minio` client · Issue #82 · anomaly/lab-python-server
Description: 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 enviro...
Open Graph Description: 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 SecretsM...
X Description: 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 SecretsM...
Opengraph URL: https://github.com/anomaly/lab-python-server/issues/82
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Provide helper methods to use `boto3` instead of the `minio` client","articleBody":"**Is your feature request related to a problem? Please describe.**\r\nWhile 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).\r\n\r\nIt would be nice to provide a `boto3` wrapped up to work with this stack.\r\n\r\n**Describe the solution you'd like**\r\nA 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.\r\n\r\nSecondly 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.\r\n\r\nAs for documentation it will be helpful to provide assumptions and samples.\r\n\r\n**Describe alternatives you've considered**\r\nNA\r\n\r\n**Additional context**\r\nSee [aws-eks-cluster](https://github.com/anomaly/aws-eks-cluster) for a `terraform` deployed AWS environment which is setup in the way described above.","author":{"url":"https://github.com/devraj","@type":"Person","name":"devraj"},"datePublished":"2023-08-12T04:56:29Z","url":"https://github.com/anomaly/lab-python-server/issues/82"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:52671b3f-c57d-2423-0124-a3b5d939a8e7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B21C:32405D:3BABC6:53A486:6B0479CD |
| html-safe-nonce | 97f31446f03c04933966a73f6e929585fef69b54caf9f475f95840f560ef6283 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMjFDOjMyNDA1RDozQkFCQzY6NTNBNDg2OjZCMDQ3OUNEIiwidmlzaXRvcl9pZCI6IjkxNTg0ODY5OTcwNDY5NTAzNDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | d96c820ce3de6220791119f22edf6907787a9bcf2042d62488433d8a6e9810d2 |
| hovercard-subject-tag | issue:1847752802 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/anomaly/lab-python-server/82/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b615cc2a985b8932ae594b3245d7c395aba438a97eb8de2832c40b3ec26abccf/anomaly/lab-python-server/issues/82 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b615cc2a985b8932ae594b3245d7c395aba438a97eb8de2832c40b3ec26abccf/anomaly/lab-python-server/issues/82 |
| og:image:alt | 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 SecretsM... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | devraj |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9c099f1b85def81ca352464c276510dfef32deaf3c305404e65b8d270284a58b |
| turbo-cache-control | no-preview |
| go-import | github.com/anomaly/lab-python-server git https://github.com/anomaly/lab-python-server.git |
| octolytics-dimension-user_id | 3654837 |
| octolytics-dimension-user_login | anomaly |
| octolytics-dimension-repository_id | 491764445 |
| octolytics-dimension-repository_nwo | anomaly/lab-python-server |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 491764445 |
| octolytics-dimension-repository_network_root_nwo | anomaly/lab-python-server |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | cf73f57448d52b3a7b619195e182b33d3b3454ca |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width