Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

S3 key policy #622

Copy link
Copy link
@dronsyy

Description

@dronsyy
Issue body actions

Describe the bug
It is not possible to create a key with your own policy. The following policy is used:

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowWriteOnlyAccess",
      "Effect": "Allow",
      "Action": [
        "s3:PutObject"
      ],
      "Resource": "arn:aws:s3:::backup/*"
    },
    {
      "Sid": "DenyReadAndDelete",
      "Effect": "Deny",
      "Action": [
        "s3:GetObject",
        "s3:ListBucket",
        "s3:ListBucketVersions",
        "s3:DeleteObject"
      ],
      "Resource": [
        "arn:aws:s3:::backup",
        "arn:aws:s3:::backup/*"
      ]
    }
  ]
}

To Reproduce
Create a new key with the policy

Expected behavior
Successful created key

Additional context
RustFS Version: alpha 61

Metadata

Metadata

Assignees

Labels

S-confirmingStatus: Awaiting confirmation for a resolved issueStatus: Awaiting confirmation for a resolved issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.