Get a reference to an object
You can:
- get a reference to an object in a public container — all objects are accessible via public domains vaults;
- create a reference to an object in a private container — object will be available by reference via public domain of the container which you can make one-time or time-limited.
We do not recommend using Cyrillic characters in object names. If you use Cyrillic, encode the Cyrillic part of the reference to work with references to such objects.
Get a reference to an object in a public container
-
В control panels go to Object Storage → Containers.
-
Open the container page → tab Objects.
-
In the line with the object, click .
-
Copy the link:
- en bloc Main domain is referenced through public domain of the container;
- en bloc Additional domains are referenced via custom domains (if they have been added to the container) and CDN domains (if the container is connected to a CDN).
Get a reference to an object in a private container
An object in a private container will be accessible through the public domain of the container — by a link of the form https://<uuid>.selstorage.ru/<object_name>
.
When you first create a reference to an object in a private container, a public container is automatically created in the project links
. The created reference is added to it as an object with the same name as the main object. Objects in a container links
are zero-sized and do not consume storage capacity. If you configure the reference as temporary, the referenced object will automatically be removed from the container links
when the link stops working.
Create a reference to an object in a private container
-
В control panels go to Object Storage → Containers.
-
Open the container page → tab Objects.
-
On the menu. object select Open access.
-
Optional: in the field Link address change the name of the object to be displayed in the reference, or leave the current one.
-
Optional: to allow the link to be clicked only once, check the checkbox One-time reference.
-
Optional: to limit the validity time of the link, check the checkbox Time constraints and choose one of the options:
- Delete through — link will stop working after a selected period of time after creation;
- Delete at a specified time — link will stop working on the selected date and time.
-
Click Create a link.
-
To copy the link, click . You'll be able to copy it containerized
links
.
Copy a reference to an object in a private container
- В control panels go to Object Storage → Containers.
- Open the container page
links
→ tab Objects. - In the line with the object, click .
- In the link line, click .