S3 Bucket Policy to allow "Chef Client" UserAgent
{
"Version": "2012-10-17",
"Id": "<snip>",
"Statement": [
{
"Sid": "<snip>",
"Effect": "Deny",
"Principal": "*",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::<bucket name>/*",
"Condition": {
"StringNotLike": {
"aws:UserAgent": "*Chef *"
}
}
}
]
}
Written by Curio
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Aws s3 useragent chef-client chef
Authors
Related Tags
#aws s3 useragent chef-client chef
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#