Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to parse the input policy: unsupported action 's3:GetLifecycleConfiguration'. #3265

Closed
LarsBrenker opened this issue Jun 22, 2020 · 5 comments

Comments

@LarsBrenker
Copy link

Expected behavior

Possibility to add Permission for creating or getting lifecycle config

Actual behavior

If i try to import policy with s3:GetLifecycleConfiguration or s3:PutLifecycleConfiguration i will receive an error Unable to parse the input policy: unsupported action 's3:GetLifecycleConfiguration'. I tried all available Actions. No action will grant permission.

With s3:* it is possible.

Steps to reproduce the behavior

Try getting or creating lifecycle config with action s3:*

mc --version

mc version RELEASE.2020-06-20T00-18-43Z

System information

Windows 10 Power Shell

@kannappanr
Copy link
Collaborator

@LarsBrenker Thanks for reporting the issue. Have sent a PR to fix the iam policy package. Once that is merged, we will vendorize it in mc

@kannappanr kannappanr added this to the Current milestone Jun 22, 2020
@harshavardhana
Copy link
Member

Fixed by minio/minio#9893

@LarsBrenker
Copy link
Author

@kannappanr The bug seems to be fixed but unfortunately it still doesn't work.

mc version RELEASE.2020-06-26T19-56-55Z
Server Version 2020-07-02T00:15:09Z

Message: Unable to parse the input policy: unsupported action 's3:GetLifecycleConfiguration'.

Maybe something needs to be adjusted in the client?

@vadmeste
Copy link
Member

vadmeste commented Jul 7, 2020

@LarsBrenker yeah correct, mc needs to be updated and released

harshavardhana added a commit to harshavardhana/mc that referenced this issue Jul 7, 2020
harshavardhana added a commit to harshavardhana/mc that referenced this issue Jul 7, 2020
harshavardhana added a commit to harshavardhana/mc that referenced this issue Jul 7, 2020
@752319951
Copy link

mc: Unable to parse the input policy: unsupported action "*"

@minio minio locked as resolved and limited conversation to collaborators Dec 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants