Actions, resources, and condition keys for Amazon S3 Glacier
Amazon S3 Glacier (service prefix: glacier) provides the following
service-specific operations, resources, actions, and condition keys for use in IAM permission
policies.
References:
-
Learn how to configure this service.
-
View a list of the API operations available for this service.
-
Learn how to secure this service and its resources by using IAM permission policies.
-
View the programmatic service authorization reference
for this service.
Topics
API operations defined by Amazon S3 Glacier
The following table maps API operations to the IAM actions they authorize. Only condition keys that have static values for the given API and action are listed; for the full set of condition keys supported by each action, see the Actions table.
| Operation | IAM action | Condition key | Possible value(s) | Access level |
|---|---|---|---|---|
|
AbortMultipartUpload |
Write |
|||
|
AbortVaultLock |
Permissions management, Write |
|||
|
AddTagsToVault |
Tagging, Write |
|||
|
CompleteMultipartUpload |
Write |
|||
|
CompleteVaultLock |
Permissions management, Write |
|||
|
CreateVault |
Write |
|||
|
DeleteArchive |
Write |
|||
|
DeleteVault |
Write |
|||
|
DeleteVaultAccessPolicy |
Permissions management, Write |
|||
|
DeleteVaultNotifications |
Write |
|||
|
DescribeJob |
Read |
|||
|
DescribeVault |
Read |
|||
|
GetDataRetrievalPolicy |
Read |
|||
|
GetJobOutput |
Read |
|||
|
GetVaultAccessPolicy |
Read |
|||
|
GetVaultLock |
Read |
|||
|
GetVaultNotifications |
Read |
|||
|
InitiateJob |
Read |
|||
Write |
||||
|
InitiateMultipartUpload |
Write |
|||
|
InitiateVaultLock |
Permissions management, Write |
|||
|
ListJobs |
List |
|||
|
ListMultipartUploads |
List |
|||
|
ListParts |
List |
|||
|
ListProvisionedCapacity |
List |
|||
|
ListTagsForVault |
List |
|||
|
ListVaults |
List |
|||
|
PurchaseProvisionedCapacity |
Write |
|||
|
RemoveTagsFromVault |
Tagging, Write |
|||
|
SetDataRetrievalPolicy |
Permissions management, Write |
|||
|
SetVaultAccessPolicy |
Permissions management, Write |
|||
|
SetVaultNotifications |
Write |
|||
|
UploadArchive |
Write |
|||
|
UploadMultipartPart |
Write |
Actions defined by Amazon S3 Glacier
You can specify the following actions in the Action element of an IAM
policy statement. Use policies to grant permissions to perform an operation in Amazon. When
you use an action in a policy, you usually allow or deny access to the API operation or CLI
command with the same name. However, in some cases, a single action controls access to more
than one operation. Alternatively, some operations require several different actions.
| Actions | Description | Resource types (*required) | Condition keys | Access level |
|---|---|---|---|---|
Grants permission to abort a multipart upload identified by the upload ID |
Write |
|||
Grants permission to abort the vault locking process if the vault lock is not in the Locked state |
Permissions management, Write |
|||
Grants permission to add the specified tags to a vault |
Tagging, Write |
|||
Grants permission to complete a multipart upload process |
Write |
|||
Grants permission to complete the vault locking process |
Permissions management, Write |
|||
Grants permission to create a new vault with the specified name |
Write |
|||
Grants permission to delete an archive from a vault |
Write |
|||
Grants permission to delete a vault |
Write |
|||
Grants permission to delete the access policy associated with the specified vault |
Permissions management, Write |
|||
Grants permission to delete the notification configuration set for a vault |
Write |
|||
Grants permission to get information about a job previously initiated |
Read |
|||
Grants permission to get information about a vault |
Read |
|||
Grants permission to get the data retrieval policy |
Read |
|||
Grants permission to download the output of the job specified |
Read |
|||
Grants permission to retrieve the access-policy subresource set on the vault |
Read |
|||
Grants permission to retrieve attributes from the lock-policy subresource set on the specified vault |
Read |
|||
Grants permission to retrieve the notification-configuration subresource set on the vault |
Read |
|||
Grants permission to initiate a job of the specified type |
Write |
|||
Grants permission to initiate a multipart upload |
Write |
|||
Grants permission to initiate the vault locking process |
Permissions management, Write |
|||
Grants permission to list jobs for a vault that are in-progress and jobs that have recently finished |
List |
|||
Grants permission to list in-progress multipart uploads for the specified vault |
List |
|||
Grants permission to list the parts of an archive that have been uploaded in a specific multipart upload |
List |
|||
Grants permission to list the provisioned capacity for the specified Amazon Web Services account |
List |
|||
Grants permission to list all the tags attached to a vault |
List |
|||
Grants permission to list all vaults |
List |
|||
Grants permission to purchases a provisioned capacity unit for an Amazon Web Services account |
Write |
|||
Grants permission to remove one or more tags from the set of tags attached to a vault |
Tagging, Write |
|||
Grants permission to set and then enacts a data retrieval policy in the region specified in the PUT request |
Permissions management, Write |
|||
Grants permission to configure an access policy for a vault; will overwrite an existing policy |
Permissions management, Write |
|||
Grants permission to configure vault notifications |
Write |
|||
Grants permission to upload an archive to a vault |
Write |
|||
Grants permission to upload a part of an archive |
Write |
Resource types defined by Amazon S3 Glacier
The following resource types are defined by this service and can be used in the
Resource element of IAM permission policy statements.
| Resource types | ARN | Condition keys |
|---|---|---|
arn:${Partition}:glacier:${Region}:${Account}:vaults/${VaultName} |
Condition keys for Amazon S3 Glacier
Amazon S3 Glacier defines the following condition keys that can be used in the
Condition element of an IAM policy.
| Condition keys | Description | Type |
|---|---|---|
Filters access by how long an archive has been stored in the vault, in days |
String |
|
Filters access by a customer-defined tag |
String |