This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$accountId = "<your account id>" | |
$pollSleep = 10 | |
$vaultList = aws glacier list-vaults --account-id $accountId | ConvertFrom-Json | |
foreach($vault in $vaultList.VaultList) | |
{ | |
$jobInfo = aws glacier initiate-job --vault-name $vault.VaultName --account-id $accountId --job-parameters='{\"Type\": \"inventory-retrieval\"}' | ConvertFrom-Json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am bderidder on github. | |
* I am bderidder (https://keybase.io/bderidder) on keybase. | |
* I have a public key whose fingerprint is A34E 77FD B042 3BD1 500D 4AE0 8642 3A9D 9598 5D00 | |
To claim this, I am signing this object: |