Coder Social home page Coder Social logo

aws-tools's Introduction

aws-tools

Sign S3 URL

SYNOPSIS :
    sign_s3_url.bash
         --help
         --region <REGION>
         --bucket <BUCKET_NAME>
         --file <FILE_PATH>
         --aws-access-key-id <AWS_ACCESS_KEY_ID>
         --aws-secret-access-key <AWS_SECRET_ACCESS_KEY>
         --method <HTTP_REQUEST_METHOD>
         --minute-expire <MINUTE_TO_EXPIRE>

USE CASES :
    If you have a private/public S3 bucket and would like to share the downloadable links to anyone,
    this tool will help to generate signed S3 URLs

DESCRIPTION :
    --help                     Help page
    --region                   Region (optional, defaults to $AWS_DEFAULT_REGION)
                               Valid regions: ap-northeast-1 ap-southeast-1 ap-southeast-2
                                              eu-west-1 sa-east-1
                                              us-east-1 us-west-1 us-west-2
    --bucket                   Bucket name (require)
    --file-path                File path (require)
    --aws-access-key-id        AWS Access Key ID (optional, defaults to $AWS_ACCESS_KEY_ID)
    --aws-secret-access-key    AWS Secret Access Key (optional, defaults to $AWS_SECRET_ACCESS_KEY)
    --method                   HTTP request method (optional, defaults to 'GET' method)
    --minute-expire            Minutes to expire signed URL (optional, defaults to '15' minutes)

EXAMPLES :
    ./sign_s3_url.bash --help
    ./sign_s3_url.bash
        --bucket 'my_bucket_name'
        --file-path 'my_path/my_file.txt'
    ./sign_s3_url.bash
        --region 'us-west-1'
        --bucket 'my_bucket_name'
        --file-path 'my_path/my_file.txt'
        --aws-access-key-id '5KI6IA4AXMA39FV7O4E0'
        --aws-secret-access-key '5N2j9gJlw9azyLEVpbIOn/tZ2u3sVjjHM03qJfIA'
        --method 'PUT'
        --minute-expire 30

aws-tools's People

Contributors

gdbtek avatar hugofcampos avatar nitrikx avatar shirkey avatar

Watchers

 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.