Skip to content

Instantly share code, notes, and snippets.

View Odysseas640's full-sized avatar
🥝

Odysseas Stefas Odysseas640

🥝
View GitHub Profile
@veuncent
veuncent / aws_glacier_delete_vault.md
Last active November 9, 2024 16:53
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