GitXplorerGitXplorer
L

ScalityS3SampleClientCode

public
2 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
268ec2f40977381beee023a06abebc8949176b34

Add addUserToGroup to iamRequests.js

LLaurenSpiegel committed 8 years ago
Unverified
186500533b6b835a0b418d50ec837547778ae5e2

Update utapi time functions

LLaurenSpiegel committed 8 years ago
Unverified
9dc28ec21a20f413a06fcd9f0ece0b3d15198d19

Modify gitignore

LLaurenSpiegel committed 8 years ago
Unverified
96ff9c07e086397315e0a64a38e48450b8a6d2c9

Update readme

LLaurenSpiegel committed 8 years ago
Unverified
dbc4c0a7b6c5897e8b6f6229bef860e83b94ffda

Set up clients and include sample code

LLaurenSpiegel committed 8 years ago
Unverified
502a6b506126562f569eb7895de6534e46a6d3ad

Initial commit

LLaurenSpiegel committed 8 years ago

README

The README file for this repository.

Scality S3 Sample Client Code

This repository provides sample client code for making requests to:

  • Scality S3
  • Scality IAM
  • Scality UTAPI

Setup

(a) $ cp sampleConfig.json config.json
(b) modify config.json with real credentials and endpoints
(c) $ npm install

Usage

  1. Scality S3

To make Scality S3 requests, uncomment any desired function call in s3Requests.js and then run node s3Requests.js.

  1. Scality IAM

To make Scality IAM requests, uncomment any desired function call in iamRequests.js and then run node iamRequests.js.

  1. Scality UTAPI

To make a sample Scality UTAPI request, simply run node utapiRequests.js. To modify the request go into utapiRequests.js and modify the bucket names or time range at the bottom of the file.