A symbolic link points to a target object in a bucket. Use it to access the object through the link name, without knowing its actual path. This topic describes how to use the OSS C# SDK V2 to create and get symbolic links.
Prerequisites
Before you begin, ensure that you have:
The
oss:PutObjectpermission to create a symbolic linkThe
oss:GetObjectpermission to get a symbolic link
For details on granting permissions, see Grant custom access policies to RAM users.
Usage notes
The sample code uses the China (Hangzhou) region (
cn-hangzhou) and a public endpoint by default. If you access OSS from another Alibaba Cloud product in the same region, use an internal endpoint. For endpoint details, see OSS regions and endpoints.