GitXplorerGitXplorer
L

ScalityS3SampleClientCode

public
2 stars
0 forks
0 issues

Commits

List of commits on branch master.

No commits found

There are no commits on branch master.

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.