Skip to main content

icebox

Encrypting command-line client for [Amazon Glacier][].

This command-line client lets you store files and directories in Amazon Glacier. All data is encrypted using GnuPG before being uploaded and no original filenames will be visible remotely.

Requirements

  • AWS credentials with write access to Glacier

  • GnuPG public/private keypair

  • Python 3.5 or higher

Setup

AWS credentials

Configure AWS credentials as described in the [Boto documentation][]. The credentials should have write access to the Glacier vaults you plan to use. See the [example IAM policy](docs/iam-policy.example.json) for recommended permissions.

GnuPG keypair

Create a keypair for icebox and make a note of the ID. Retrieval operations can take a long time, so you should make sure the keypair stays accessible, i.e. no password prompts blocking the operation.

Install icebox

Install icebox using pip (or [pipsi][]):

pip3 install icebox

Usage

Create a new box

Create the box mybox for a Glacier vault called myvault like this:

icebox init mybox 0xMYKEYID glacier myvault

If your AWS credentials are not in the default profile, use the –profile option:

icebox init mybox 0xMYKEYID glacier myvault –profile icebox

Store data in a box

To store a file or directory, simply specify its location:

icebox put mybox cat-pictures/grumpy.jpg

Retrieve data from a box

There are no directories in boxes, so you just specify the original name of the source and a destination:

icebox get mybox grumpy.jpg -d ~/Desktop

Standard retrievals can take a long time. To perform an [Expedited][pricing] retrieval, use the Tier option:

icebox get mybox grumpy.jpg -d ~/Desktop -o Tier=Expedited

Retrieval operations are tracked by icebox, so you can interrupt a pending retrieval and request the same source again later.

Delete data from a box

To delete a stored file or directory, use its original name:

icebox delete mybox grumpy.jpg

List data in a box

To list the contents of a box:

icebox list mybox

Refresh data in a box

To update local box information with the current backend inventory:

icebox refresh mybox

Refresh operations are tracked by icebox, so you can interrupt a refresh and continue it later.

[Amazon Glacier]: https://aws.amazon.com/glacier/ [Boto documentation]: https://boto3.readthedocs.io/en/latest/guide/quickstart.html#configuration [pipsi]: https://github.com/mitsuhiko/pipsi [pricing]: https://aws.amazon.com/glacier/pricing/

Release files for icebox 0.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for icebox 0.3.2
File Size Uploaded
icebox-0.3.2.tar.gz 11.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for icebox 0.3.2
File Interpreter ABI Platform
icebox-0.3.2-py3-none-any.whl Python 3 none any Details

Total release size: 37.2 kB

Release files / icebox-0.3.2.tar.gz

Download URL icebox-0.3.2.tar.gz
Size 11.1 kB
Tags Source
SHA-256 checksum
How to use checksums
5e688d183f7b2f91c76df4fed6760f2c7c9c4e7ae7978ff1048161c8425396c7
BLAKE2b-256 checksum
How to use checksums
fd6356ef9546d3f76d2513772223c55c1cf3950f6742db77d288e0a022648907
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.6

Release files / icebox-0.3.2-py3-none-any.whl

Download URL icebox-0.3.2-py3-none-any.whl
Size 26.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7db7c62c8c8a2abb1e27328a59366500601690eb9c1c0dbc48fd015bb809fa61
BLAKE2b-256 checksum
How to use checksums
95e30e4a9a7034a0158bd88a317e46eb07efc09af74dfbbeb585ef22dd002e3e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.6

Release history Release notifications | RSS feed

1.1.0

2 release files

1.0.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.3

2 release files

This release

0.3.2 This release

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page