•  Home
  •  Dashboard
  •  Company
    • About Us
    • Blog
    • Careers
    • Contact Us
    • Data Centers
    • Looking Glass
    • Network
    • Reseller
  •  Hosting Services
    • Infrastructure
      • iColocation
    • Compute
      • cMetal
      • cVirtual
    • Storage
      • sObject
      • sBlock
    • Networking
      • nIP Transit
      • nWavelength
    • Protection
      • pBackup
      • pDDoS
  •  Solutions
    • Ecommerce
    • Finance
    • Gaming
    • Hosting
    • Management
    • Security
    • System Integrator
  •  Support
    • Community
    • Knowledge Base
    • Open A Ticket
    • Status
  •  USA & Canada: 800-933-1517
  •  International: 626-549-2801
  •  Email: sales@psychz.net
  • Services
    • new-colocation-header-img
      Infrastructure
      • iColocation
    • new-compute-header-img
      Compute
      • cMetal
      • cVirtual
    • new-storage-header-img
      Storage
      • sObject
      • sBlock
    • new-networking-header-img
      Networking
      • nIP Transit
      • nWavelength
    • new-protection-header-img
      Protection
      • pBackup
      • pDDoS
  • Solutions
    • Ecommerce
    • Security
    • Gaming
    • Hosting
    • Management
    • Finance
    • System Integrator
  • Dashboard

sObject - SSE (Server Side Encryption) Guide

  • Home
  • Client
  • Knowledgebase
  • Storage
  • sObject
  • sObject - SSE (Server Side Encryption) Guide

Table Of Content

    Related Articles

    • sObject – Bucket Policy Examples
    • sObject – Sub-User Permissions
    • s3Express Guide
    • sObject - Javascript Examples
    • sObject - PHP Examples
    • sObject - Python Examples
    • sObject - Configuring CORS and Bucket Policies Using S3 Browser
    • sObject - CNAME Guide
    • sObject - CrossFTP Guide
    • sObject - WinSCP Guide
    • sObject - S3 Browser Guide
    • sObject - Keys
    • sObject - Buckets
    • sObject - Access Using S3tools
    • sObject - Limits and Best Practices
    • sObject - Delete
    • sObject - Intro
    • sObject - Create

    sObject - SSE (Server Side Encryption) Guide

    Publisher: Psychz Networks August 06,2024
    • Prerequisites
    • Generate Key
    • Verify Key
    • Upload File
    • Download File
    • Conclusion

    Server-Side Encryption with Customer-Provided Keys on Psychz Object Storage Server-side encryption (SSE) ensures that data stored on Psychz Object Storage is secured by encrypting it at the object level before storing it on disk. When using your encryption key (SSE-C), Psychz will encrypt your data before storing it and only decrypt it when the same encryption key is provided with the retrieval request. Example of Encryption and Decryption of Files with Customer-Provided Keys

    Prerequisites

    • An active Psychz Object Storage account.
    • AWS CLI is installed and configured on your system.
    • OpenSSL is installed on your system.

    Generate an Encryption Key

    First, you need to generate a 32-character hexadecimal encryption key. You can use OpenSSL to do this:

    openssl rand -hex 16 > ssec.key

    This command generates a random 32-character key and saves it to a file named ssec.key.

    Verify the Generated Key

    You can verify the generated key by displaying its contents:

    cat ssec.key

    Example output:

    40e212e376600be7c3b6ba1d28060af4

    Encrypt and Upload Your File

    To encrypt and upload your file to Psychz Object Storage using the customer-provided encryption key, use the following command:

    aws s3 --endpoint-url https://sobject.uswest1.psychz.net cp /path/to/your/file s3://<bucket_name>/your_file --sse-c AES256 --sse-c-key $(cat ssec.key)

    Replace /path/to/your/file with the path to your file and <bucket_name>/your_file with your bucket name and desired file name in the bucket.

    Example:

    aws s3 --endpoint-url https://sobject.uswest1.psychz.net cp /home/example/test.file s3://my-bucket/test.file --sse-c AES256 --sse-c-key 40e212e376600be7c3b6ba1d28060af4

    Decrypt and Download Your File

    To decrypt and download your file from Psychz Object Storage, use the following command:

    aws s3 --endpoint-url https://sobject.uswest1.psychz.net cp s3://<bucket_name>/your_file /path/to/download/your_file --sse-c AES256 --sse-c-key $(cat ssec.key)

    Replace <bucket_name>/your_file with your bucket name and file name, and /path/to/download/your_file with the path where you want to save the downloaded file.

    Example:

    aws s3 --endpoint-url https://sobject.uswest1.psychz.net cp s3://my-bucket/test.file/home/example/test.file --sse-c AES256 --sse-c-key 40e212e376600be7c3b6ba1d28060af4

    Conclusion

    Following these steps, you can securely encrypt your data on Psychz Object Storage using your encryption key. This ensures your sensitive data remains protected and can only be accessed with the correct encryption key.

    Views: (1741) Votes: (0)

    Related Articles

    • sObject – Bucket Policy Examples
    • sObject – Sub-User Permissions
    • s3Express Guide
    • sObject - Javascript Examples
    • sObject - PHP Examples
    • sObject - Python Examples
    • sObject - Configuring CORS and Bucket Policies Using S3 Browser
    • sObject - CNAME Guide
    • sObject - CrossFTP Guide
    • sObject - WinSCP Guide
    • sObject - S3 Browser Guide
    • sObject - Keys
    • sObject - Buckets
    • sObject - Access Using S3tools
    • sObject - Limits and Best Practices
    • sObject - Delete
    • sObject - Intro
    • sObject - Create
    Copyright © 2026 Psychz Networks,
    A Profuse Solutions Inc Company
    Hosting Services
    • Catalog
    Infrastructure
    • iColocation
    Compute
    • cMetal
    • cVirtual
    Storage
    • sObject
    • sBlock
    Networking
    • nIP Transit
    • nWavelength
    Protection
    • pBackup
    • pDDoS
    Company
    • About Us
    • Blog
    • Careers
    • Contact Us
    • Data Centers
    • Looking Glass
    • Network
    • Reseller
    Policies
    • Acceptable Usage Policy
    • Privacy Policy
    • Service Level Agreement
    • Terms and Conditions
    Support
    • Community
    • Knowledge Base
    • Open A Ticket
    • Status
    Get In Touch
    • Psychz Networks,
      A Profuse Solutions Company
      611 Wilshire Blvd #300
      Los Angeles,California 90017
      USA
    • US/Canada: 800-933-1517
    • International: 626-549-2801