# Tutorials

> SQL access, SDKs, versioning, encryption, annotations and multi-step S3 workflows.

---

LLMS index: [llms.txt](/llms.txt)

---

Complete the [Quick start](/docs/s3/quickstart/) first. Keep the `silo` database, the `attachments` bucket, the `app-s3` user and the trusted gateway CA certificate for these tutorials.

| Tutorial | Scope |
| --- | --- |
| [Objects from SQL](/docs/s3/tutorial/sql/) | Commit or roll back objects together with business rows; grant `silo_api` and `silo_bucket` permissions; paginate and stream segments (Preview) |
| [Use an S3 SDK](/docs/s3/tutorial/sdk/) | Connect AWS CLI, `boto3` and browsers with presigned URLs and bucket CORS |
| [Versioning](/docs/s3/tutorial/versioning/) | Enable versioning, read historical versions, and configure lifecycle rules and hard bucket quotas |
| [Encryption](/docs/s3/tutorial/encryption/) | Configure static-key SSE-S3, use client-held SSE-C keys, and understand key recovery and SQL boundaries |
| [Annotations and ZIP](/docs/s3/tutorial/annotations-zip/) | Attach UTF-8 annotations to object versions and read or list ZIP archive members with SigV4 requests (Preview) |
| [Multipart, Object Lock and STS](/docs/s3/tutorial/workflows/) | Upload parts with cleanup, apply retention and legal hold, deliver bucket notifications or SQL outbox events, and issue service accounts or STS credentials |

Use the root account only for administration. Use restricted IAM policies for S3 applications, and manage PostgreSQL login roles separately from S3 access keys.

---

Section pages:

- [Objects from SQL](/docs/s3/tutorial/sql/): Write and read objects inside a PostgreSQL transaction with silo_api.
- [Use an S3 SDK](/docs/s3/tutorial/sdk/): Connect AWS SDKs and mc-compatible clients to the gateway.
- [Versioning](/docs/s3/tutorial/versioning/): Enable versioning, read old versions and work with delete markers.
- [Encryption](/docs/s3/tutorial/encryption/): SSE-C and static-key SSE-S3, and what they protect.
- [Annotations and ZIP](/docs/s3/tutorial/annotations-zip/): Attach annotations to objects and extract ZIP archives on upload.
- [Multipart, Object Lock and STS](/docs/s3/tutorial/workflows/): Multipart uploads, retention and legal hold, and temporary credentials.
