S3 REST API

From GM-RKB
Jump to navigation Jump to search

An S3 REST API is a REST API for S3 resources.



References

2016

  • http://docs.aws.amazon.com/AmazonS3/latest/API/Welcome.html
    • QUOTE: ... Requests to Amazon S3 can be authenticated or anonymous. Authenticated access requires credentials that AWS can use to authenticate your requests. When making REST API calls directly from your code, you create a signature using valid credentials and include the signature in your request. For information about various authentication methods and signature calculations, see Authenticating Requests (AWS Signature Version 4).

      Making REST API calls directly from your code can be cumbersome. It requires you to write the necessary code to calculate a valid signature to authenticate your requests. We recommend the following alternatives instead:

      • Use the AWS SDKs to send your requests (see Sample Code and Libraries). With this option, you don't need to write code to calculate a signature for request authentication because the SDK clients authenticate your requests by using access keys that you provide. Unless you have a good reason not to, you should always use the AWS SDKs.
      • Use the AWS CLI to make Amazon S3 API calls. For information about setting up the AWS CLI and example Amazon S3 commands see the following topics:
        Set Up the AWS CLI in the Amazon Simple Storage Service Developer Guide.
        Using Amazon S3 with the AWS Command Line Interface in the AWS Command Line Interface User Guide.