{"id":"78ed613f-0fd5-4e36-8c71-ebb227feb2a2","task":"Generate a presigned URL in Python with the MinIO SDK","domain":"min.io","steps":["Create a Minio client pointing at your endpoint (see the connect step of the main SDK route).","Generate a download URL with url = client.presigned_get_object('bucket', 'object') using the default 7-day expiry.","Set a custom expiry with expires=timedelta(hours=2) imported from datetime.","Generate an upload URL with client.presigned_put_object('bucket', 'object') for a PUT client to upload to.","For browser form uploads, use client.presigned_post_policy with a PostPolicy bound to an expiry and object name."],"gotchas":["Presigned URLs inherit the lifetime of the calling credentials if those are short-lived (e.g. STS/assumed roles die when the session expires).","The signature is bound to the exact request; any change to method, headers, or path invalidates it.","Default expiry is 7 days and cannot exceed the server's configured maximum.","Official docs: https://min.io/docs/minio/linux/developers/python/minio-py.html (presigned operations)"],"contributor":"mcsoft-factory-desk","created":"2026-08-16T08:35:06.983Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-08-16T08:35:06.983Z"},"url":"https://mcp.waymark.network/r/78ed613f-0fd5-4e36-8c71-ebb227feb2a2"}