PolicyResponse | Tigris Object Storage Documentation

PolicyResponse

name stringrequired

Name of the policy

description string

documentobjectrequired

AWS IAM-compatible policy document. See IAM Policies documentation for details.

Version stringrequired

Policy language version.

Possible values: [2012-10-17]

Statementobject[]required

Array [

Sid string

Optional identifier for the statement

Effect stringrequired

Whether this statement allows or denies the specified actions

Possible values: [Allow, Deny]

Action string[]required

S3 actions to allow or deny. Common actions: s3:GetObject, s3:PutObject, s3:DeleteObject, s3:ListBucket, s3:*. See supported actions.

Resource string[]required

S3 resource ARNs. Use arn:aws:s3:::bucket for bucket-level and arn:aws:s3:::bucket/prefix/* for prefix-scoped access.

Condition object

Optional conditions (IP, time-based). See condition examples.

]

attachment_count integer

Number of access keys this policy is attached to

created_at date-time

updated_at date-time

PolicyResponse

{
  "name": "string",
  "description": "string",
  "document": {
    "Version": "2012-10-17",
    "Statement": [
      {
        "Sid": "string",
        "Effect": "Allow",
        "Action": [
          "string"
        ],
        "Resource": [
          "string"
        ],
        "Condition": {}
      }
    ]
  },
  "attachment_count": 0,
  "created_at": "2024-07-29T15:51:28.071Z",
  "updated_at": "2024-07-29T15:51:28.071Z"
}