# IAM create-policy does not seem to work

**URL:** <https://community.fly.io/t/iam-create-policy-does-not-seem-to-work/23905>\
**Category:** General\
**Tags:** tigris, login-only\
**Created:** [February 15, 2025, 2:03pm UTC](https://community.fly.io/t/iam-create-policy-does-not-seem-to-work/23905 "2025-02-15T14:03:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hakoptak](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/hakoptak/32/36477_2.png) [@hakoptak](https://community.fly.io/u/hakoptak)\
**Post date:** [February 15, 2025, 2:03pm UTC](https://community.fly.io/t/iam-create-policy-does-not-seem-to-work/23905/1 "2025-02-15T14:03:43Z")

</div>

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:](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!

---

<div class="post-metadata">

**Author:** ![jmj](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/jmj/32/17762_2.png) [@jmj](https://community.fly.io/u/jmj)\
**Post date:** [February 21, 2025, 5:29pm UTC](https://community.fly.io/t/iam-create-policy-does-not-seem-to-work/23905/3 "2025-02-21T17:29:04Z")

</div>

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](https://www.tigrisdata.com/docs/iam/iam-policy-support/)

The `Numeric*` conditions are in our backlog.

---

<div class="post-metadata">

**Author:** ![hakoptak](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/hakoptak/32/36477_2.png) [@hakoptak](https://community.fly.io/u/hakoptak)\
**Post date:** [February 24, 2025, 12:44pm UTC](https://community.fly.io/t/iam-create-policy-does-not-seem-to-work/23905/4 "2025-02-24T12:44:15Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/fly1/original/3X/6/e/6e8955d00cb218e186ebbe3a6ab06fefdce15290.svg) [@system](https://community.fly.io/u/system)\
**Post date:** [March 3, 2025, 12:44pm UTC](https://community.fly.io/t/iam-create-policy-does-not-seem-to-work/23905/5 "2025-03-03T12:44:51Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
