Aws S3 Filter by Tags. Search by tags

前端 未结 6 1635
北海茫月
北海茫月 2021-02-05 02:12

We have our bucket with new Aws SDK API on AWS S3. We uploaded and tagged lots of files and folders with tags.

How can we filter on key-value tag, or only one of them?

6条回答
  •  死守一世寂寞
    2021-02-05 03:16

    There seems to be one way to achieve what you're looking for, although it's not ideal, or particularly user-friendly.

    The AWS S3 tagging documentation says that you can grant accounts permissions for objects with a given tag. If you created a new account with the right permissions then you could probably get the filtered list.

    Not particularly useful on an ongoing basis, though.

提交回复
热议问题