1
0
mirror of https://github.com/actix/examples synced 2024-11-23 22:41:07 +01:00
examples/multipart-s3
2020-02-06 10:06:41 +09:00
..
src example 2020-02-06 10:06:41 +09:00
.env.example example 2020-02-06 10:06:41 +09:00
.gitignore example 2020-02-05 12:53:33 +09:00
Cargo.toml example 2020-02-06 10:06:41 +09:00
README.md example 2020-02-06 10:06:41 +09:00

use : https://github.com/rusoto/rusoto

https://www.rusoto.org/regions.html https://docs.rs/rusoto_core/0.42.0/rusoto_core/enum.Region.html

  1. set env AWS_ACCESS_KEY_ID

  2. set env AWS_SECRET_ACCESS_KEY

  3. set env AWS_S3_BUCKET_NAME

  4. multipart/post aws-s3 upload

  5. multipart/post post-data to struct