forked from helpshift/pypiprivate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.pypi-private.cfg
40 lines (37 loc) · 1.2 KB
/
example.pypi-private.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
[storage]
type = local-filesystem
# Choices: azure, aws-s3, local-filesystem
#
# Based on the type, the following sections (of the same name as type)
# will be applicable. You may exclude the other ones
[local-filesystem]
base_path = /path/to/privatepypi/simple
[aws-s3]
bucket = mybucket
prefix = simple
acl = private
# Use DigitalOcean Spaces or another AWS S3 compatible storage layer by
# specifying the other provider's endpoint URL and service region. For
# DigitalOcean Spaces, specify the region (nyc3 in this example) and it will be
# interpolated into the endpoint..
#
#region = nyc3
#endpoint = https://%(region)s.digitaloceanspaces.com
#
# Creds for authentication:
#
# For s3 auth, following creds may be explicitly set
# - PP_S3_ACCESS_KEY (required)
# - PP_S3_SECRET_KEY (required)
# - PP_S3_SESSION_TOKEN (optional)
#
# In case any of the above required env vars are not set, pypiprivate
# will try to authenticate using boto3's default methods. More info:
# https://boto3.amazonaws.com/v1/documentation/api/latest/guide/configuration.html
[azure]
container = mycontainer
prefix = simple
# Creds for authentication
#
# Set the connection string for the storage account as environment var
# PP_AZURE_CONN_STR