Code Monkey home page Code Monkey logo

aws4c's Introduction

AWS4C - A C lbrary to interface with Amazon Web Services
Copyright (c) 2009  Vlad Korolev   [email protected]

with Contributions from Henry Nestler <Henry at BigFoot.de>


Licensing
----------

See COPYING  for license information.


Prerequisites
--------------

   This library needs following pre-requisites

   * CURL (http://curl.haxx.se/)

   * OpenSSL (http://www.openssl.org/)


Authentication with AWS
----------------------

AWS4C uses ~/.awsAuth file for retrieving AWS credentials the .awsAuth
has the format similar to UNIX passwd file.  Each line of the file
should contain the following items,  user ID,  AWS Key ID, and AWS Key.
The items should be separated by colon ':'.   The first item of each line
the user ID parameter is a record identifier.  The record identifeir is
used by aws_read_config function to the AWS key  id and the value to be used 
by the library.  The sample code supplied with this library uses ID 'sample'
Make sure to configure this ID in your .awsAuth file before running the 
example programs.

Note the .awsAuth file should be owned by the user who is executing the 
program and should have permissons such that it is only readable by the
owner.
 
Here is an example of the file:

id:1XASDSDSDSAMPLE:IK234jJk3454543SAMPLE
user2:1X35D84SD9AMPLE:IK234jJk3454543SAMPLE
sample:1XA39S3xwSAMPLE:IK234jJk3454543SAMPLE


Installation
------------

    Make sure that pre-requisites installed.  Then run 'make' command to
    build examples.

    Edit the ~/.awsAuth file.  Put the your AWS key for the sample ID

    Run the following examples to test the library

	sqs_example   --  shows SQS interface
	s3_put	      --  puts a file into S3
	s3_get	      --  retrieves the file from S3


Integration
-----------

    To integrate the library with your project copy aws4c.c and aws4c.h
    into your project directory and edit your makefile accordingly

    Refer to Makefile supplied with the library for guidance



Additional Info
---------------

API manual and additional information is available at 
 
http://code.google.com/p/aws4c/wiki/Main

and

http://v-lad.org/software/aws4c/


aws4c's People

Contributors

vladistan avatar

Watchers

Kunal P.Bharati avatar Mayank avatar Sameer Bhide avatar dhaval avatar Reefaq Kader avatar Harshal avatar Nikhil Jain avatar rohit avatar  avatar Suvish Thoovamalayil avatar Pritesh Jain avatar Nikhil Gohil avatar Prathamesh Doiphode avatar Ninad Hatkar avatar Srushti.J.Oza avatar James Cloos avatar Uttam Krishna Ukkoji avatar Gautam avatar Riddhi Agrawal avatar  avatar  avatar Rahul Nair avatar Akshay Mhatre avatar Viresh Madabhavi avatar  avatar Priyanka Mistry avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.