Encryption and Compression
Last updated
Last updated
This section guides you through configuring encryption and compression for S3-compatible storage using the MinIO Client (mc
).
Encryption ensures data security, while compression optimizes storage usage.
The MinIO Client allows you to interact with your MinIO server. The MinIO Server provides an S3-compatible API and supports core S3 features.
The MinIO Server provides an S3-compatible API and supports core S3 features. Choose one of the following installation methods for Linux:
RPM (RHEL-based Systems)
Download the latest stable MinIO RPM package. Install the package using dnf
:
DEB (Debian/Ubuntu Systems)
Download the appropriate .deb
package from the MinIO Downloads Page. Install the package using dpkg
:
Binary Installation (Universal Method)
Download the MinIO Server binary. Make the binary executable and move the binary to a directory in your system PATH:
The MinIO Client allows command-line interaction with your MinIO server.
Download the MinIO Client binary:
Make the binary executable:
Move the binary to a directory in your system PATH:
Verify the installation:
For other operating systems, refer to this resource.
Set an alias for your server:
Replace <BLIMP_DOMAIN>
with the domain link from the Blimp output.
Replace <ACCESS_KEY>
and <SECRET_KEY>
with your credentials.
Example:
Verify the alias setup by listing buckets:
Create a bucket for storing encrypted and compressed data:
Confirm the bucket creation by listing the contents:
Copy files or directories recursively to the bucket, applying compression:
Example commands:
List the contents of the bucket to verify the upload:
Ensure that the uploaded files are encrypted on the server by verifying through:
Replace <FILE_NAME>
with the name of any uploaded file.
Check the metadata to confirm encryption.
To download and decrypt, use:
Recursive Upload: Use the --recursive
flag to upload entire directories.
Bucket Verification: Always verify the presence of the bucket and its contents after each operation.
Compression: Compression is applied automatically during file transfer. Ensure that the server supports compression for optimal results.
Encryption: Encryption is configured at the server level. Confirm the settings in your ZS3Server configuration to enable encryption.