Skip to main content

IAM Policy Support

Tigris IAM policies define what actions an access key can perform on specific resources, optionally under conditions like IP address or time of day.

Tigris uses a simplified, S3-compatible subset of AWS IAM. Policies are attached directly to Access Keys, not users or roles.


โœ… Supported IAM Policy Operationsโ€‹

Tigris supports the following IAM operations for managing access policies:

OperationDescription
IAM:CreatePolicyCreate a new IAM policy
IAM:ListPoliciesList all IAM policies
IAM:GetPolicyGet details of a specific policy
IAM:DeletePolicyDelete a specific IAM policy
IAM:AttachUserPolicyAttach a policy to an access key
IAM:DetachUserPolicyDetach a policy from an access key
IAM:ListUserPoliciesList policies attached to a specific access key
IAM:GetPolicyVersionRetrieve a specific version of a policy
IAM:ListEntitiesForPolicyList access keys a policy is attached to

Note: Tigris does not support IAM users. When these operations refer to "user", they apply to access keys only.


๐Ÿงฑ Supported IAM Policy Blocksโ€‹

IAM policies in Tigris use a subset of the AWS IAM specification. The following blocks are supported:

BlockSupportedDescription
Versionโœ…Must be 2012-10-17
Idโœ…Optional identifier for the policy
Statementโœ…Array of permission rules
Statement.Sidโœ…Optional identifier for individual rules
Statement.Effectโœ…Allow or Deny
Statement.Action๐Ÿ”ถ PartialMust use Tigris-supported S3 actions
Statement.Resourceโœ…Specific ARNs or wildcard patterns
Statement.Condition๐Ÿ”ถ PartialLimited to the condition keys below

๐Ÿ” Supported Condition Keysโ€‹

Tigris supports the following condition operators in IAM policies:

  • IpAddress
  • NotIpAddress
  • DateEquals
  • DateNotEquals
  • DateGreaterThan
  • DateGreaterThanEquals
  • DateLessThan
  • DateLessThanEquals

Only aws:CurrentTime is supported as a variable in date-based conditions.


๐Ÿงช Example: Read-Only IAM Policyโ€‹

This example grants read-only access to all objects in the images bucket:

{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": ["s3:GetObject", "s3:ListBucket"],
"Resource": ["arn:aws:s3:::images", "arn:aws:s3:::images/*"]
}
]
}

โš™๏ธ Supported Actions in Action Blockโ€‹

Tigris supports a wide range of s3: IAM actions. You can:

  • Use exact action names (s3:GetObject)
  • Use wildcards (s3:Put*, s3:*)

For the full list of actions Tigris supports, see:

๐Ÿ‘‰ Full List of Supported S3-Compatible Actions


๐Ÿง  Summaryโ€‹

  • IAM policies define access for access keys, not users or roles.
  • Tigris supports a subset of AWS IAM JSON policy structure.
  • You can manage policies using the Tigris Dashboard or AWS CLI configured with Tigris credentials.
  • Only supported s3: actions and conditions will be accepted during policy creation.