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
66cc79c4
Commit
66cc79c4
authored
Aug 10, 2021
by
João Pereira
Committed by
Nick Gaskill
Aug 10, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add note about encrypted S3 buckets to container registry docs
parent
d6c18665
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
48 additions
and
0 deletions
+48
-0
doc/administration/packages/container_registry.md
doc/administration/packages/container_registry.md
+48
-0
No files found.
doc/administration/packages/container_registry.md
View file @
66cc79c4
...
...
@@ -580,6 +580,54 @@ However, this behavior is undesirable for registries used by internal hosts that
1.
Save the file and
[
restart GitLab
](
../restart_gitlab.md#installations-from-source
)
for the changes to take effect.
#### Encrypted S3 buckets
You can use server-side encryption with AWS KMS for S3 buckets that have
[
SSE-S3 or SSE-KMS encryption enabled by default
](
https://docs.aws.amazon.com/kms/latest/developerguide/services-s3.html
)
.
Customer master keys (CMKs) and SSE-C encryption aren't supported since this requires sending the
encryption keys in every request.
For SSE-S3, you must enable the
`encrypt`
option in the registry settings. How you do this depends
on how you installed GitLab. Follow the instructions here that match your installation method.
For Omnibus GitLab installations:
1.
Edit
`/etc/gitlab/gitlab.rb`
:
```ruby
registry['storage'] = {
's3' => {
'accesskey' => 's3-access-key',
'secretkey' => 's3-secret-key-for-access-key',
'bucket' => 'your-s3-bucket',
'region' => 'your-s3-region',
'regionendpoint' => 'your-s3-regionendpoint',
'encrypt' => true
}
}
```
1.
Save the file and
[
reconfigure GitLab
](
../restart_gitlab.md#omnibus-gitlab-reconfigure
)
for the changes to take effect.
For installations from source:
1.
Edit your registry configuration YML file:
```yaml
storage:
s3:
accesskey: 'AKIAKIAKI'
secretkey: 'secret123'
bucket: 'gitlab-registry-bucket-AKIAKIAKI'
region: 'your-s3-region'
regionendpoint: 'your-s3-regionendpoint'
encrypt: true
```
1.
Save the file and
[
restart GitLab
](
../restart_gitlab.md#installations-from-source
)
for the changes to take effect.
### Storage limitations
Currently, there is no storage limitation, which means a user can upload an
...
...
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