Skip to content

Proxy Configuration

Configuration options for running Sourcery using a proxy, specified in the .sourcery.yaml file (parent reference)

Hint

Although you may set up these settings per-project, you may find it more convenient to set them in your user-level settings (see Reference: Configuration Sources for more detail).

Hint

If you're using a proxy already, you can find the values you should use from your browser's proxy settings.

Fields Overview

All fields are optional.

Field Type Description
url string The proxy URL
ssl_certs_file string Path to an SSL certificate file
no_ssl_verify boolean Enable or disable SSL verification

Default

proxy:
  url: none
  ssl_certs_file: none
  no_ssl_verify: false

Complete Example

proxy:
  url: https://user:password@host:port
  ssl_certs_file: /path/to/cafile.pem
  no_ssl_verify: false

Fields

url

string

The proxy url.

Example

proxy:
  url: https://user:password@host:port

ssl_certs_file

string

Path to a custom certificate authority (CA) secure sockets layer (SSL) certificate file.

Example

proxy:
  url: /path/to/cafile.pem

no_ssl_verify

boolean

If true SSL verification is bypassed.

Example

proxy:
  no_ssl_verify: true