Skip to content

Smithy cli behind an HTTP proxy #2024

Closed Answered by hpmellema
Robert904 asked this question in Q&A
Discussion options

You must be logged in to vote

The following pr adds support for using a proxy for smithy dependency resolution: #2076
This functionality will be included in the next release.

As noted in the PR, use of a proxy would be supported in 2 ways:

  1. Via environment variables: SMITHY_PROXY_HOST and SMITHY_PROXY_CREDENTIALS . These will set a common proxy configuration for all repositories
  2. Via a specific configuration on the Maven repository definition. For example,
    "maven": {
        "repositories": [
            {
                "url": "http://localhost:1234/maven/not/there",
                "proxyHost": "http://localhost:2323",
                "proxyCredentials": "user:pass"
            }
        ],
        "dependencie…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by hpmellema
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants