Skip to main content

Encrypting command-line client for Amazon Glacier.

Project description

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

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 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):

pip 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 myvault 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 myvault grumpy.jpg ~/Desktop

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

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

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

icebox-0.0.0.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

icebox-0.0.0-py3-none-any.whl (22.2 kB view details)

Uploaded Python 3

File details

Details for the file icebox-0.0.0.tar.gz.

File metadata

  • Download URL: icebox-0.0.0.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for icebox-0.0.0.tar.gz
Algorithm Hash digest
SHA256 c3fef731b74a69ba0b8421a2f4f0aeae6746e4427cc040c5c0fa393531f7b7cf
MD5 73e434a0dfd709a37d2ad30ff1e3da6d
BLAKE2b-256 a98634add3059f9018ba74bc43add42b449164c68754d3702fe02be187c9ba92

See more details on using hashes here.

File details

Details for the file icebox-0.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for icebox-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0f7d81caeb65ff4d464b3c46a4669eba74f7c9464abb903fde496858aed94c98
MD5 49a05b8af9a43ea5d52cff5c6d2c5d46
BLAKE2b-256 95033fa48e9ffdfdc797a29ef3a84df33df7d79deb3dc3369f31485a30c0a45a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page