#Objective: Tagging on StorageGRID folders and objects using non-UI way

1 messages · Page 1 of 1 (latest)

hearty bison
#

Hi All. I have folders and files to transfer from our local directory to our NetApp StorageGRID 11.6 tenant bucket. When the stuff is transferred to the storage, I need to add tags to folders (or maybe to objects too). Using CLI or S3API, it looks like folders transferred are all flat data and not being object given the fact that those folders don't receive ETag (hash) on them. These folders with no ETag value don't allow me to add tags even from UI. On the other hand, if folders are created by a certain way (for example manual creation, or using S3 browser), they receive hash and I can add tags on them from UI. On either case, I have not succeeded with adding tags in non-UI way. Is this something that I can achieve by changing tenant policy or bucket policy? Should I try REST API to achieve this? Your comments will be greatly appreciated. Thanks.

timber flame
#

Object tag limits
You can add tags to new objects when you upload them, or you can add them to existing objects.
Both StorageGRID and AWS S3 support up to 10 tags for each object. Tags associated with an object
must have unique tag keys. A tag key can be up to 128 Unicode characters in length and tag values
can be up to 256 Unicode characters in length. Key and values are case sensitive

#

some additional documentation