An implementation of skelpo/Storage for Amazon S3. Uses the LiveUI/S3 package for interacting with the S3 API.
Add the package declaration to your manifest's dependencies
array with the latest version:
.package(url: "https://github.com/skelpo/S3Storage.git", from: "0.1.0")
Then run swift package update
and regenerate your Xcode project (if you have one).
Create and register an S3Signer
instance with your app's services. Then register an S3
instance (or another implementation of S3StorageClient
) as S3StorageClient
:
try services.register(S3(defaultBucket: bucket, signer: signer), as: S3StorageClient.self)
You can find API documentation here.
S3Storage is under the MIT license agreement.