Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
b5d2d3d7
Commit
b5d2d3d7
authored
Sep 30, 2014
by
Jacob Vosmaer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Consolidate the IAM backup upload policy
parent
794078a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
25 deletions
+10
-25
doc/raketasks/backup_restore.md
doc/raketasks/backup_restore.md
+10
-25
No files found.
doc/raketasks/backup_restore.md
View file @
b5d2d3d7
...
...
@@ -83,15 +83,15 @@ For installations from source:
If you are uploading your backups to S3 you will probably want to create a new
IAM user with restricted access rights. To give the upload user access only for
uploading backups create the following
three profiles
, replacing
`my.s3.bucket`
uploading backups create the following
IAM profile
, replacing
`my.s3.bucket`
with the name of your bucket:
```
json
{
"Version"
:
"201
4-09-29
"
,
"Version"
:
"201
2-10-17
"
,
"Statement"
:
[
{
"Sid"
:
"Stmt141
1994999
"
,
"Sid"
:
"Stmt141
2062044000
"
,
"Effect"
:
"Allow"
,
"Action"
:
[
"s3:AbortMultipartUpload"
,
...
...
@@ -99,42 +99,27 @@ with the name of your bucket:
"s3:GetBucketLocation"
,
"s3:GetObject"
,
"s3:GetObjectAcl"
,
"s3:List
MultipartUploadPart
s"
,
"s3:List
BucketMultipartUpload
s"
,
"s3:PutObject"
,
"s3:PutObjectAcl"
],
"Resource"
:
[
"arn:aws:s3:::my.s3.bucket/*"
]
}
]
}
```
```
json
{
"Version"
:
"2014-09-29"
,
"Statement"
:
[
},
{
"Sid"
:
"Stmt141
1995081
"
,
"Sid"
:
"Stmt141
2062097000
"
,
"Effect"
:
"Allow"
,
"Action"
:
[
"s3:ListAllMyBuckets"
,
"s3:GetBucketLocation"
"s3:GetBucketLocation"
,
"s3:ListAllMyBuckets"
],
"Resource"
:
[
"*"
]
}
]
}
```
```
json
{
"Version"
:
"2014-09-29"
,
"Statement"
:
[
},
{
"Sid"
:
"Stmt141
1995608
"
,
"Sid"
:
"Stmt141
2062128000
"
,
"Effect"
:
"Allow"
,
"Action"
:
[
"s3:ListBucket"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment