Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Yandex Object Storage
    • Overview
    • Bucket
    • Object
    • Bucket versioning
    • Object lock
    • Partial object updates
    • Encryption
    • Object lifecycles
    • CORS
    • Hosting static websites
    • Pre-signed URLs
    • Multipart upload
    • Access control list (ACL)
    • Bucket policy
    • Uploading files via an HTML form
    • Storage class
    • Bucket actions logging mechanism
    • Backups
    • TLS protocol
    • Labels
    • S3 Select query language
    • Quotas and limits
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Bucket logs
  • Release notes
  • FAQ

In this article:

  • Bucket labels
  • Object labels
  1. Concepts
  2. Labels

Labels

Written by
Yandex Cloud
Updated at May 5, 2025
  • Bucket labels
  • Object labels

A label is a key-value pair used for logical bucket and object labeling.

Note

Yandex Cloud uses labels to logically identify resources. However, Object Storage supports compatibility with Amazon S3 API, that is why we use tags, a term native to AWS, in the AWS CLI commands and API parameters.

Bucket labelsBucket labels

Buckets support Yandex Resource Manager labels.

You can view spending details for buckets or other resources of Yandex Cloud services marked with a specific label. For example, using labels, you can view expenses for a particular project or corporate department.

You can view expenses for the labeled resources in a CSV file with usage details and on the Yandex DataLens dashboard.

Label operation limits:

  • Maximum number of labels per resource: 64.

  • Label key parameters:

    • Must be from 1 to 63 characters long.
    • May contain lowercase Latin letters, numbers, hyphens, and underscores.
    • Use a letter for the first character.
  • Label value parameters:

    • May be up to 63 characters long.
    • May contain lowercase Latin letters, numbers, hyphens, and underscores.
  • Labels prefixed with aws: in the key are reserved for Object Storage. These labels are not counted in the total number of bucket labels. You cannot delete or modify them.

Object labelsObject labels

You can work with object labels in the management console as well as in the YC CLI, AWS CLI, Terraform, and S3 API.

Object label operation limits are as follows:

  • Maximum number of labels per object: 10.
  • Label key parameters:
    • Up to 128 characters long.
    • May contain Latin letters, numbers, spaces, and these characters: +, -, =, ., _, :, /, and @.
  • Label value parameters:
    • Up to 256 characters long.
    • May contain Latin letters, numbers, spaces, and these characters: +, -, =, ., _, :, /, and @.
  • Labels prefixed with aws: in the key are reserved for Object Storage. These labels are not counted in the total number of object labels. You cannot delete or modify them.

See alsoSee also

  • Managing bucket labels
  • Managing object labels

Was the article helpful?

Previous
TLS protocol
Next
S3 Select query language
© 2025 Direct Cursus Technology L.L.C.