Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

44 Commits

Repository files navigation

This is a small client library for making requests to Amazon S3 and other services which expose the same API (such as RADOS).

It was originally written as part of Anansi, but has been split into a separate project to facilitiate reuse.

It depends upon libcurl, liburi and OpenSSL (except on Mac OS X, where CommonCrypto is used instead).

libawsclient URIs have the following form (all parameters are optional if the defaults are sufficient or the information is supplied through specific setter calls):


s3://ACCESSKEY:SECRETKEY@BUCKET/RESOURCE?endpoint=HOSTNAME&region=REGION&ver=AUTHVER&token=TOKEN

In the above:

NameDescription
ACCESSKEYThe AWS access key
SECRETKEYThe AWS secret key
HOSTNAMEThe endpoint name (defaulting to s3.amazonaws.com for S3 requests)
REGIONThe region name for v4 authentication, e.g., us-west-1
AUTHVERThe authentication mechanism to use; defaults to '2' unless a REGION or TOKEN are supplied, in which case '4'
TOKENAn AWS session token, if you have one
BUCKETThe name of the S3 bucket to access
RESOURCEThe path of the resource within a bucket

About

Stand-alone version of libs3client

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages