encrypt


Use s3ql to mount an S3 storage filesystem locally

s3ql is an alternative to s3fs and s3backer which you can use to mount and s3 bucket into your local filesystem. s3ql will create a block device inside your S3 bucket. Its size is dynamic, so you allocate just as much storage space as you are using. It also encrypts your data using a password […]


Creating an encrypted Databag in Chef

Create a random encryption key: openssl rand -base64 512 | tr -d ‘\r\n’ > secret_key Use this to encrypt a data bag item named “passwords” located in a data bag named “production”: knife data bag create −−editor /usr/bin/vi −−secret-file ./secret_key production passwords This will open an text editor, example JSON data would be: { “id”: “passwords”, […]