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
0ab414de
Commit
0ab414de
authored
Nov 12, 2020
by
Tim Rizzi
Committed by
Suzanne Selhorn
Nov 12, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add note about supporting IAM roles for S3
parent
eccdfbdd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
2 deletions
+16
-2
doc/administration/packages/container_registry.md
doc/administration/packages/container_registry.md
+16
-2
No files found.
doc/administration/packages/container_registry.md
View file @
0ab414de
...
...
@@ -397,6 +397,20 @@ To configure the `s3` storage driver in Omnibus:
}
```
To avoid using static credentials, use an
[
IAM role
](
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html
)
and omit
`accesskey`
and
`secretkey`
. Make sure that your IAM profile follows
[
the permissions documented by Docker
](
https://docs.docker.com/registry/storage-drivers/s3/#s3-permission-scopes
)
.
```
ruby
registry
[
'storage'
]
=
{
's3'
=>
{
'bucket'
=>
'your-s3-bucket'
,
'region'
=>
'your-s3-region'
}
}
```
-
`regionendpoint`
is only required when configuring an S3 compatible service such as MinIO. It takes a URL such as
`http://127.0.0.1:9000`
.
-
`your-s3-bucket`
should be the name of a bucket that exists, and can't include subdirectories.
...
...
@@ -412,8 +426,8 @@ when you [deployed your Docker registry](https://docs.docker.com/registry/deploy
```
yaml
storage
:
s3
:
accesskey
:
'
s3-access-key'
secretkey
:
'
s3-secret-key-for-access-key'
accesskey
:
'
s3-access-key'
# Not needed if IAM role used
secretkey
:
'
s3-secret-key-for-access-key'
# Not needed if IAM role used
bucket
:
'
your-s3-bucket'
region
:
'
your-s3-region'
regionendpoint
:
'
your-s3-regionendpoint'
...
...
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