February 2020
Intermediate to advanced
440 pages
13h 51m
English
We can create a Vault Lock as follows:
{ "Version":"2012-10-17", "Statement":[ { "Sid": "deny-delete-if-archive-age-less-than-year", "Principal": "*", "Effect": "Deny", "Action": "glacier:DeleteArchive", "Resource": [ "arn:aws:glacier:us-east-1:135301570106:vaults/mybackupvault" ], "Condition": { "NumericLessThan" : { "glacier:ArchiveAgeInDays" : "365" } } } ]}
Replace my account ID of 135301570106 and the vault name of mybackupvault with your account ID and vault name. We can also click on Add a permission and generate the policy statement.
Read now
Unlock full access