File tree 1 file changed +12
-1
lines changed
1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ Once compiled, the resulting s3 binary must be placed in /usr/lib/apt/methods/ a
22
22
23
23
Finally, this is how you add it to the /etc/apt/sources.list file if you want your credentials in the url:
24
24
25
- deb s3://AWS_ACCESS_ID:[AWS_SECRET_KEY_IN_BRACKETS]@s3.amazonaws.com/BUCKETNAME prod main
25
+ deb s3://AWS_ACCESS_ID:[AWS_SECRET_KEY_IN_BRACKETS]@s3-ENDPOINT .amazonaws.com/BUCKETNAME prod main
26
26
27
27
otherwise leave off the credentials and it will draw them from the environment variables ` AWS_ACCESS_KEY_ID ` and ` AWS_SECRET_KEY_ID ` .
28
28
@@ -40,3 +40,14 @@ To synchronize local repository to s3 as read-only, execute:
40
40
41
41
s3cmd sync /srv/apt-repo-dir/dists s3://bucket_name
42
42
s3cmd sync /srv/apt-repo-dir/pool s3://bucket_name
43
+
44
+ ## Using GPG keys
45
+
46
+ If you're signing you repository with key, export it to server:
47
+
48
+ gpg --send-keys XXXXXXXX
49
+
50
+ then import it and install to apt:
51
+
52
+ gpg --recv-keys XXXXXXXX
53
+ gpg -a --export XXXXXXXX | [sudo] apt-key add -
You can’t perform that action at this time.
0 commit comments