pink-s3
Simple pure Rust AWS S3 Client for Phala network's pink environment.
Examples
use pink_s3 as s3;
let endpoint = "https://s3.ap-southeast-1.amazonaws.com";
let region = "ap-southeast-1";
let access_key = ;
let secret_key = ;
let s3 = S3new.unwrap;
let bucket = "my-wallet";
let object_key = "path/to/foo";
let value = b"bar";
s3.put.unwrap;
let head = s3.head.unwrap;
assert_eq!;
let v = s3.get.unwrap;
assert_eq!;
s3.delete.unwrap,
Supported S3 actions
- HeadObject
- GetObject
- PutObject
- DeleteObject