Closed ezra-risq closed 1 year ago
Thanks! I've not used anything Google-y for some years so I'm not surprised this needs some maintenance. Your patch looks fine to me if the application credentials detection works properly and as you describe now. Could you just update the readme with a # JSON_CREDENTIALS are optional if you need to override the default credentials detection
note or similar comment and I'll merge this into the next release.
(Also, totally unrelated, your SSL cert for https://www.risq.io/ expired in January if you hadn't noticed!).
Great-- I just updated the README.
(Also, totally unrelated, your SSL cert for https://www.risq.io/ expired in January if you hadn't noticed!).
Yeah, my company got acquired and that's not my job anymore-- I have to figure out whose it is; they really should just redirect our old site.
Perfect, thanks!
This has been rolled into the latest release, v3.1.3 and is available now.
This needs done for AWS too, allow us to use instance profiles instead of specifying keys/secrets.
Got an example of using instance profiles with boto? Also that's probably a different issue. I don't personally publish with distill to S3 so I'm happy to accept PRs for that as well.
Just make credentials an optional config and aws tables care if the rest :)
Sent from Gmail Mobile
On Sun, Mar 10, 2024 at 11:05 PM meeb @.***> wrote:
Got an example of using instance profiles with boto? Also that's probably a different issue. I don't personally publish with distill to S3 so I'm happy to accept PRs for that as well.
— Reply to this email directly, view it on GitHub https://github.com/meeb/django-distill/pull/79#issuecomment-1987640693, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADSKUHLEPT7YNFPWBJCBEX3YXU3QNAVCNFSM6AAAAAAWXRTQDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBXGY2DANRZGM . You are receiving this because you commented.Message ID: @.***>
So you can just call boto3.client('s3')
with no other arguments and it'll, I assume, pull in the access credentials from the environment?
yep
Sent from Gmail Mobile
On Mon, Mar 11, 2024 at 6:00 AM meeb @.***> wrote:
So you can just call boto3.client('s3') with no other arguments and it'll, I assume, pull in the access credentials from the environment?
— Reply to this email directly, view it on GitHub https://github.com/meeb/django-distill/pull/79#issuecomment-1988278704, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADSKUHOXQMOF6ASUBC6DPWTYXWMG3AVCNFSM6AAAAAAWXRTQDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBYGI3TQNZQGQ . You are receiving this because you commented.Message ID: @.***>
I've created https://github.com/meeb/django-distill/issues/88 to track this as it's a different issue.
The JSON_CREDENTIALS value should be optional.