Encode Container Tutorial

This example demonstrates how to encode files into an encrypted Locktera container using the Locktera API. The example reads all files from an input folder, constructs a container manifest, and submits the files and manifest to the Locktera encode endpoint for encryption.

During this process, the files are encrypted and packaged into a .tera container, which becomes an immutable, cryptographically protected object. The container can then be securely stored, transferred, or distributed while maintaining persistent access control.

This example illustrates how to construct a manifest, prepare file content, and create an encrypted container programmatically using the Locktera API.

Go To Tutorial

Secure File Upload and Storage

Learn how encrypted containers are created and how files are protected before storage or transfer.

Container Manifest Structure

Understand how manifests define container contents, metadata, and access control rules during encoding.

Modify Container Access Rules

Grant, revoke, or modify access permissions for an existing container without changing its contents.

Retrieve and Decrypt Containers

Learn how authorized systems retrieve and decrypt encrypted containers using the decode endpoint.

Audit Logging

View audit records to verify container access, permission changes, and access attempts.