Pcornel
Storage · Object Storage

S3 API

Cheat sheet · https://pcornel.dk/topic.php?topic=4166

Back to the Topic

Answer

The S3 API is Amazon's HTTP interface for object storage — PUT, GET, LIST and DELETE on buckets and objects with signed requests — now supported by most object stores such as MinIO, Ceph RGW and Wasabi.

Remember

  • Requests are signed (SigV4).
  • Path-style vs virtual-hosted URLs differ.
  • Most S3-compatible stores differ in small details.

First checks

  • aws s3api list-buckets — API working
  • aws configure list — credentials/profile
  • aws s3 ls --endpoint-url <minio/ceph> — S3-compatible endpoint

Verify in this order

client SDK → SigV4 → endpoint → bucket

Where it usually breaks

First mismatch in DNS/TLS → authentication/signing → bucket/container policy → object key/version → gateway → backend placement → GET/HEAD read-back; preserve identity/pre-state before mutation.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4166

Confirmation

Confirm action

Continue?