DOKK / manpages / debian 11 / apt-transport-s3 / apt-transport-s3.8.en
APT-TRANSPORT-S3(8) System Manager's Manual APT-TRANSPORT-S3(8)

apt-transport-s3 - it's a package which contains apt transport ('plugin') allowing apt to fetch files stored in private repositories held on AWS S3.

According to the S3 bucket naming convention to make it working with this transport over TLS bucket name can NOT contain dots in it. More information about it can be found at https://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html

To access repositories held on S3 it is compulsory to have correct permissions into the bucket where repository is located and those permissions have to be reflected in at least one of below two places.

IAM Roles default place where S3 transport is looking for credentials allowing for fetching files from S3 bucket

/etc/apt/s3auth.conf credentials configuration file in ini format without section headers

URI format is in standard apt format only difference with S3 transport is that instead of HTTP(s), cdrom or FTP protocol s3 should be used
ex. deb [trusted=yes] s3://bucket_name/ testing main contrib non-free


AccessKeyId = myaccesskey
SecretAccessKey = mysecrectkey
Region = eu-west-1
Endpoint = 'nyc3.digitaloceanspaces.com'

August 14, 2014