| id |
33fea733-ffe9-489d-989e-37295d60da88 |
| user_id |
8684964a-bab1-4235-93a8-5fd5e24a1d0a |
| filename |
s3.pdf |
| meta |
{"name": "s3.pdf", "content_ty {"name": "s3.pdf", "content_type": "application/pdf", "size": 443968, "data": {}, "collection_name": "file-33fea733-ffe9-489d-989e-37295d60da88"}... |
| created_at |
1760413620 |
| hash |
0b7700bc69ca097062273fd8165958d9af1ebfc9e7a6d0ef97 0b7700bc69ca097062273fd8165958d9af1ebfc9e7a6d0ef97a3f890362a0f7d... |
| data |
{"status": "completed", "conte {"status": "completed", "content": "S3-Compatible API (HTTP server)1. User Authentication (Login / Signup)2. User Generates Access KeysOnce logged in, the user can generate credentials:Access Key ID (public)Secret Access Key (private)UrlThese keys will be used by AWS-SDK(aws-sdk/clients/s3.js) or any S3 client.3. SDK Configuration (Client Side)new S3({accessKeyId,secretAccessKey,endpoint: \"https://your-endpoint.com\",s3ForcePathStyle: true,signatureVersion: \"v4\"})4. S3-Compatible Requests BeginWhen the user calls SDK functions like:listBuckets()putBucket()upload()getObject()listObjectsV2()The SDK sends requests to your backend endpoint using AWS Signature V4.await s3.getObject({ Bucket: 'my-bucket', Key: 'file.txt' }).promise();This triggers an HTTP GET:GET http://your-endpoint.com/my-bucket/file.txtHeaders include:Access Key IDSignature (generated using Secret Key)x-amz-datex-amz-content-sha2565.Backend Receives RequestYour backend:Extracts:bucketkey headers (authorization, signed headers)Finds the Secret Key using the Access Key IDRebuilds the AWS SignatureCompares with signature in the requestBackend will validate the access with signature and access key earlier generatedIf valid \u2192 proceedsOtherwise \u2192 403 unauthorized6.Data Storage Handled by Your BackendDistributed nodesYour backend acts like an S3 gateway.7. Presigned URL Supportconst url = s3.getSignedUrl('getObject', {Bucket: 'my-bucket',Key: 'file.txt',Expires: 60});SDK generates a temporary signed URLNo backend call happens hereWhen someone accesses the URL \u2192 request hits your backendBackend validates signature in query paramsReferance:https://storj.dev/dcs/code/aws/nodejshttps://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock.html"}... |
| updated_at |
1760413620 |
| path |
/home/sid/xevyo/open-webui-dev/backend/data/upload /home/sid/xevyo/open-webui-dev/backend/data/uploads/33fea733-ffe9-489d-989e-37295d60da88_s3.pdf... |
| access_control |
null |