Use this when naming objects and organizing prefixes.
Object Keys
An object key is the unique name of an object inside a bucket, such as backups/2026/db.tar.gz. Slashes only look like folders; the namespace is flat, and prefixes are used for listing and policies.
1. Keys are flat strings; "folders" are prefixes.
2. Design prefixes for listing and lifecycle.
3. Avoid sensitive data in keys.
4. Use UTF-8 safe names.
5. Prefix-based permissions.
key → prefix → listing/policy
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Common mistakes Narrow the fault
- Listing huge prefixes repeatedly (cost and time).
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Keys are unique within a bucket.
- Slashes are only part of the name.
- Prefixes are used for listing and policies.
aws s3api list-objects-v2 --bucket <b> --prefix logs/2026/— list by prefixaws s3 ls s3://<b>/<prefix>/— browseaws s3api list-objects-v2 --bucket <b> --delimiter /— top-level "folders"
ReferenceHow it works1 section · depth on demand
Reference
aws s3api list-objects-v2 --bucket b --prefix logs/2026/11/ --max-keys 100
Design prefixes around how you list and expire data (dates, tenants).
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
An object key is the full name in the bucket, e.g. backups/2026/11/db.tar.zst. Slashes are only part of the name; "folders" are a display convention using prefixes and delimiters. Listing by prefix (--prefix backups/2026/) is how you browse.
Reference
Keys are flat names; / only looks like folders. Prefixes matter for listing and lifecycle rules. Avoid sensitive data in key names — they appear in logs and listings.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Object Storage → Object Keys. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.snia.org/tech_activities/standards/curr_standards/cdmi · confidence 94%