IAM create-policy does not seem to work

Hi there,

This is a follow up of my previous (but auto-closed) post https://community.fly.io/t/iam-create-policy-unknown-error/22730:

I’ve just tested setting a maximum upload size policy on a bucket and I don’t get an error anymore. But when I upload a file of more than 25 Mb into that bucket via the Tigris dashboard, the uploaded file is not blocked.

  1. Does this mean that the policy is not working?
  2. How can I check if the policy is properly set?

@jmj: could you clarify the working of setting and checking policies on Tigris buckets?

Thanks in advance!

Hi @hakoptak

The content-size restriction in IAM policy is not yet supported. I updated documentation to include what all conditions and blocks are supported. Tigris IAM Policy Support | Tigris Object Storage Documentation

The Numeric* conditions are in our backlog.

Hi @jmj, thanks for the update. I’ll wait for the numeric conditions.