This page is only for existing customers of the S3 Glacier service using Vaults and the original REST API from 2012.
If you're looking for archival storage solutions we suggest using the S3 Glacier storage classes in Amazon S3, S3 Glacier Instant Retrieval, S3 Glacier Flexible Retrieval, and S3 Glacier Deep Archive. To learn more about these storage options, see S3 Glacier storage classes
Common Request Headers
Amazon S3 Glacier (S3 Glacier) REST requests include headers that contain basic information about the request. The following table describes headers that can be used by all S3 Glacier REST requests.
Header Name | Description | Required |
---|---|---|
Authorization |
The header that is required to sign requests. S3 Glacier requires Signature Version 4. For more information, see Signing Requests. Type: String |
Yes |
Content-Length |
The length of the request body (without the headers). Type: String Condition: Required only for the Upload Archive (POST archive) API. |
Conditional |
Date |
The date that can be used to create the signature contained in the
If the Date header is not used for signing, it can be one of the full
date formats specified by RFC
2616 If you are using the Type: String Condition: If |
Conditional |
Host |
This header specifies the service endpoint to which you send your requests. The value
must be of the form
" Type: String |
Yes |
x-amz-content-sha256 |
The computed SHA256 checksum of an entire payload that is uploaded with either Upload Archive (POST archive) or Upload Part (PUT uploadID). This header
is not the same as the Type: String Condition: Required for streaming API, Upload Archive (POST archive) and Upload Part (PUT uploadID). |
Conditional |
x-amz-date |
The date used to create the signature in the Authorization header. The format must be
ISO 8601 basic in the Type: String Condition: |
Conditional |
x-amz-glacier-version |
The S3 Glacier API version to use. The current version is Type: String |
Yes |
x-amz-sha256-tree-hash |
The computed SHA256 tree-hash checksum for an uploaded archive (Upload Archive (POST archive)) or archive part (Upload Part (PUT uploadID)). For more information about calculating this checksum, see Computing Checksums. Type: String Default: None Condition: Required for Upload Archive (POST archive) and Upload Part (PUT uploadID). |
Conditional |