Giter Site home page Giter Site logo

gaul / s3verify Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hackintoshrao/s3-verify

1.0 3.0 0.0 641 KB

S3 Verify is a tool to verify the Amazon s3 compatibility with signature V4 based object storage solutions.

License: Apache License 2.0

Go 100.00%

s3verify's Introduction

# s3verify - A tool to test for Amazon S3 V4 Signature API Compatibility [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/minio/minio?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Go Report Card](https://goreportcard.com/badge/minio/minio)](https://goreportcard.com/report/minio/minio) [![Build Status](https://travis-ci.org/minio/s3verify.svg?branch=master)](https://travis-ci.org/minio/s3verify)

s3verify performs a series of API calls against an object storage server and checks the responses for AWS S3 signature version 4 compatibility.

INSTALLATION

Prerequisites

From Source

Currently s3verify is only available to be downloaded from source.

$ go get -u github.com/minio/s3verify

CLI USAGE

$ s3verify [FLAGS]

Flags

s3verify implements the following flags:

    --help      -h      Prints the help screen.
    --access    -a      Allows user to input their AWS access key.
    --secret    -s      Allows user to input their AWS secret access key.
    --url       -u      Allows user to input the host URL of the server they wish to test.
    --region    -r      Allows user to change the region of the AWS host they are using. 
                        Defaults to 'us-east-1' for non AWS hosts and us-west-1 for AWS hosts
                        (to prevent propogation issues).
    --verbose   -v      Allows user to trace the HTTP requests and responses sent by s3verify.
    --extended          Allows user to decide whether to test only basic or full API compliance.
    --reuse             Allows user to create a new reusable testing environment or reuse an 
                        existing environment, by providing a unique id for the environment.
    --clean             Allows user to remove all s3verify created objects and buckets. 
    --version           Prints the version.

Environment Variables

s3verify also supports the following environment variables as a replacement for flags. In fact it is recommended that on multiuser systems that env. variables be used for security reasons.

The following env. variables can be used to replace their corresponding flags.

    S3_ACCESS can be set to YOUR_ACCESS_KEY and replaces --access -a.
    S3_SECRET can be set to YOUR_SECRET_KEY and replaces --secret -s.
    S3_REGION can be set to the region of the AWS host and replaces --region -r.
    S3_URL can be set to the host URL of the server users wish to test and replaces --url -u.

EXAMPLES

Use s3verify to check the AWS S3 V4 compatibility of the Minio test server (https://play.minio.io:9000)

$ s3verify -a YOUR_ACCESS_KEY -s YOUR_SECRET_KEY https://play.minio.io:9000 

Use s3verify to check the AWS S3 V4 compatibility of the Minio test server with all APIs.

$ s3verify -a YOUR_ACCESS_KEY -s YOUR_SECERT_KEY https://play.minio.io:9000 --extended

If a test fails you can use the verbose flag (--verbose) to check the request and response formed by the test to see where it failed.

$ s3verify -a YOUR_ACCESS_KEY -s YOUR_SECRET_KEY https://play.minio.io:9000 --verbose

Setting up and then using a reusable testing environment. After testing is finished the environment is still accessible with --reuse my-test.

$ s3verify -a YOUR_ACCESS_KEY -s YOUR_SECRET_KEY https://play.minio.io:9000 --reuse my-test

Removing a reusable environment.

$ s3verify -a YOUR_ACCESS_KEY -s YOUR_SECRET_KEY https://play.minio.io:9000 --clean my-test

s3verify's People

Contributors

awwalker avatar harshavardhana avatar vadmeste avatar deekoder avatar krisis avatar belvid avatar abperiasamy avatar wendigo avatar minio-trusted avatar hackintoshrao avatar

Stargazers

Andrii Zhezhel avatar

Watchers

James Cloos avatar Andrew Gaul 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.