key prefix
The leading part of an S3 object key, such as reports/2026/, which makes keys look like folders without creating real ones.
In more detail
Prefixes let you list, grant access to and apply lifecycle rules on groups of objects. They exist only as part of each key, so an empty prefix does not exist until an object uses it.
Related terms
- S3 object — One item stored in S3: its data, its metadata and the key that names it within its bucket.
- lifecycle rule — A rule on a bucket or other store that automatically moves data to cheaper storage or deletes it after a set age.
- bucket policy — A resource-based policy attached to an S3 bucket that says which principals may perform which actions on it and its objects.
Taught in
- S3: Buckets and Objects — Cloud Infrastructure & Hyperscaler Architecture