-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
Support one or more --key
options to create credentials restricted to a specific key
#57
Comments
I need to test this, but I think that the policy for {
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:PutObject"
],
"Resource": [
"arn:aws:s3:::my-s3-bucket/foo/bar.txt"
]
}
]
} Can filenames contain a |
Twitter conversation about the I confirmed there that the ARN for a file called Suggestion from https://twitter.com/smithsam/status/1483844461310451718
|
The new
--prefix
option from #12 lets you set a wildcard prefix for key access - but it strikes me that it would also be useful to be able to limit access to one or more specific keys. For example, if you want to create a token that can be used to upload data to a pre-assigned UUID filename.Related:
--prefix
options #56The text was updated successfully, but these errors were encountered: