AWS Identity and Access Management
User Guide

Actions, Resources, and Condition Keys for Amazon Glacier

Amazon Glacier (service prefix: glacier) provides the following service-specific resources, actions, and condition context keys for use in IAM permission policies.

References:

Actions Defined by Amazon Glacier

You can specify the following actions in the Action element of an IAM policy statement. By using policies, you define the permissions for anyone performing an operation in AWS. 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. For details about the columns in the following table, see The Actions Table.

Actions Description Access Level Resource Types (*required) Condition Keys Dependent Actions
AbortMultipartUpload Aborts a multipart upload identified by the upload ID Write

vault*

AbortVaultLock Aborts the vault locking process if the vault lock is not in the Locked state Permissions management

vault*

AddTagsToVault Adds the specified tags to a vault Tagging

vault*

CompleteMultipartUpload Completes a multipart upload process Write

vault*

CompleteVaultLock Completes the vault locking process Permissions management

vault*

CreateVault Creates a new vault with the specified name Write

vault*

DeleteArchive Deletes an archive from a vault Write

vault*

glacier:ArchiveAgeInDays

DeleteVault Deletes a vault Write

vault*

DeleteVaultAccessPolicy Deletes the access policy associated with the specified vault Permissions management

vault*

DeleteVaultNotifications Deletes the notification configuration set for a vault Write

vault*

DescribeJob Returns information about a job you previously initiated Read

vault*

DescribeVault Returns information about a vault Read

vault*

GetDataRetrievalPolicy Returns the current data retrieval policy for the account and region specified in the GET request Read
GetJobOutput Downloads the output of the job you initiated Read

vault*

GetVaultAccessPolicy Retrieves the access-policy subresource set on the vault Read

vault*

GetVaultLock Retrieves attributes from the lock-policy subresource set on the specified vault Read

vault*

GetVaultNotifications Retrieves the notification-configuration subresource set on the vault Read

vault*

InitiateJob Initiates a job of the specified type Write

vault*

glacier:ArchiveAgeInDays

InitiateMultipartUpload Initiates a multipart upload Write

vault*

InitiateVaultLock Initiates the vault locking process Permissions management

vault*

ListJobs Lists jobs for a vault that are in-progress and jobs that have recently finished List

vault*

ListMultipartUploads Lists in-progress multipart uploads for the specified vault List

vault*

ListParts Lists the parts of an archive that have been uploaded in a specific multipart upload List

vault*

ListProvisionedCapacity This operation lists the provisioned capacity for the specified AWS account. List
ListTagsForVault Lists all the tags attached to a vault List

vault*

ListVaults Lists all vaults List
PurchaseProvisionedCapacity This operation purchases a provisioned capacity unit for an AWS account. Write
RemoveTagsFromVault Removes one or more tags from the set of tags attached to a vault Tagging

vault*

SetDataRetrievalPolicy Sets and then enacts a data retrieval policy in the region specified in the PUT request Permissions management
SetVaultAccessPolicy Configures an access policy for a vault and will overwrite an existing policy Permissions management

vault*

SetVaultNotifications Configures vault notifications Write

vault*

UploadArchive Adds an archive to a vault Write

vault*

UploadMultipartPart Uploads a part of an archive Write

vault*

Resources Defined by Glacier

The following resource types are defined by this service and can be used in the Resource element of IAM permission policy statements. Each action in the Actions table identifies the resource types that can be specified with that action. A resource type can also define which condition keys you can include in a policy. These keys are displayed in the last column of the table. For details about the columns in the following table, see The Resource Types Table.

Resource Types ARN Condition Keys
vault arn:${Partition}:glacier:${Region}:${Account}:vaults/${VaultName}

Condition Keys for Amazon Glacier

Amazon Glacier defines the following condition keys that can be used in the Condition element of an IAM policy. You can use these keys to further refine the conditions under which the policy statement applies. For details about the columns in the following table, see The Condition Keys Table.

To view the global condition keys that are available to all services, see Available Global Condition Keys in the IAM Policy Reference.

Condition Keys Description Type
glacier:ArchiveAgeInDays How long an archive has been stored in the vault, in days. String
glacier:ResourceTag/ A customer-defined tag. String