# Set metadatas for objects

Metadata is a type of extended information for a file (Object) that you have uploaded to the vStorage system. They can include common details such as name, creation date, size, file type (.doc, .pptx...) or properties that you are allowed to declare additionally to perform your specific tasks in application development.

To set up metadata for an object, you can follow the instructions below:

Use vStorage Portal

\\

1\. Log in to [https://vstorage.console.vngcloud.vn](https://vstorage.console.vngcloud.vn/).

2\. Choose the **project** and **container**, then select the **objects** for which you want to set up metadata.

3\. Click ![](https://docs.vngcloud.vn/download/thumbnails/67994253/image2023-3-6_11-0-2.png?version=1\&modificationDate=1701073582000\&api=v2)or select the icon ![](https://docs.vngcloud.vn/download/thumbnails/67994253/image2023-2-6_10-20-54.png?version=1\&modificationDate=1701073582000\&api=v2) at the object you want to set up metadata for and choose ![](https://docs.vngcloud.vn/download/thumbnails/67994253/image2023-3-6_11-0-24.png?version=1\&modificationDate=1701073582000\&api=v2)**.**

The set up **Metadata** screen will appear.

4\. We provide you with two methods to set up metadata:

\- **Default Key**: Select a key from the list of available keys that we provide.\
\- **Custom Key**: Create a custom key according to your needs with the prefix X-Object-Meta-Vng-.

5\. Enter the corresponding **Value** for the selected or created **Key**. Click **Add** and then choose **Update**.

After completing these 5 steps, metadata has been successfully set up for your object.

Currently, we support 8 types of default metadata keys, including: X-Robots-Tag, Cache-Control, X-Delete-At, Content-Disposition, Content-Encoding, Expires, Content-Language, Content-Type.

We have a limit on the total number of characters for all metadata of an object (see the section [Objects naming rule](https://docs.vngcloud.vn/display/VSEN/Objects+naming+rule)), so we encourage you to carefully consider which metadata to set for an object and the total number of metadata that can be set for that object.

***

Use vStorage API

In addition to the traditional management interface, we also provide an API that allows you to integrate with your user-facing applications and tools using vStorage for data storage.

To set metadatas for objects through vStorage API, please refer to the [API developers](https://docs.vngcloud.vn/display/VSEN/API+developers).

***

Use 3rd party softwares

vStorage is also compatible with user-side tools using the S3 protocol. You can easily use familiar tools such as Rclone, s3cmd, Cyberduck, and more.

To set metadatas for objects through 3rd party software, please refer to the [3rd Party Softwares](https://docs.vngcloud.vn/display/VSEN/3rd+Party+Softwares).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.vngcloud.vn/vng-cloud-document/vstorage/object-storage/vstorage-hcm03/features-of-vstorage/working-with-directories-and-objects/set-metadatas-for-objects.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
