Backing up Object Store: Difference between revisions

no edit summary
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 </code>my-bucket</code>
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"
     ],
     ],
102

edits