Skip to content

S3 v4 URL Signer to upload files to s3

Notifications You must be signed in to change notification settings

DiligentRobot/S3Kit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

S3Kit

Build Status Swift Version

Easily upload files to S3. Doesn't work in Linux at the moment

TODO: Add Linux compatibility

//let result = try S3.with(credentials: credentialsPath).upload(file: fileURL, to: bucket)
let result = try S3.with(key: "1234" and: "secret1234").upload(file: fileURL, to: bucket)
var description = result.response.description
if let data = result.data as? Data {
    if let text = NSString(data:data, encoding:String.Encoding.utf8.rawValue) as? String {
        description += "\n\(text)"
    }
}

About

S3 v4 URL Signer to upload files to s3

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 100.0%