Skip to content

Instantly share code, notes, and snippets.

View Doduf57's full-sized avatar
πŸ‘¨β€πŸ’»
Focusing

Doduf57 Doduf57

πŸ‘¨β€πŸ’»
Focusing
View GitHub Profile
@Doduf57
Doduf57 / aws_glacier_delete_vault.md
Created October 4, 2020 07:38 — forked from veuncent/aws_glacier_delete_vault.md
Delete all archives in an AWS Vault

AWS Glacier: Delete vault

Follow these steps to remove all archives from an AWS vault. After this is finished, you will be able to delete the vault itself through the browser console.

Step 1 / Retrieve inventory

This will create a job that collects required information about the vault.

$ aws glacier initiate-job --job-parameters '{"Type": "inventory-retrieval"}' --account-id YOUR_ACCOUNT_ID --region YOUR_REGION --vault-name YOUR_VAULT_NAME