102
edits
No edit summary |
No edit summary |
||
Line 20: | Line 20: | ||
If that command returns something, you need to add the new statement the existing policy. But we are not covering that here. | If that command returns something, you need to add the new statement the existing policy. But we are not covering that here. | ||
Adding policy.json to | Adding policy.json to my-bucket | ||
<div class="filename">'''File :''' policy.json </div> | <div class="filename">'''File :''' policy.json </div> | ||
<syntaxhighlight lang=json file=my-policy.json> | <syntaxhighlight lang=json file=my-policy.json> | ||
Line 53: | Line 53: | ||
<div class="filename">'''File :''' policy.json </div> | <div class="filename">'''File :''' policy.json </div> | ||
<syntaxhighlight lang=json file=my-policy.json> | <syntaxhighlight lang="json" file="my-policy.json"> | ||
{ | { | ||
"Statement": [ | "Statement": [ | ||
Line 61: | Line 61: | ||
"Action": [ | "Action": [ | ||
"s3:ListBucket", | "s3:ListBucket", | ||
"s3:GetObject", | |||
"s3:PutObject" | "s3:PutObject" | ||
], | ], |
edits