title: How do I make access to a AWS CodeArtifact repository public / public in VPC, without need of credentials?
body: <p>I need a package repository for my companies Python packages. I've setup a AWS CodeArtifact repository and managed to publish&amp;install my packages.</p>
  <p>To enable <em>pip</em> to use this repository, AWS recommends one of the following:</p>
  <pre><code>aws codeartifact login --tool pip | twine --domain my-domain --domain-owner domain-owner-id --repository my-repo
  </code></pre>
  <p>This works because I've configured my AWS client with my credentials.
  I'd much rather though, install like this:
  They should be able to easily install these packages, e.g. through</p>
  <pre><code>pip install --extra-index-url https://repository-name.d.codeartifact.eu-west-1.amazonaws.com/pypi/repository/ package_name   
  </code></pre>
  <p>For two reasons, I want this to work without credentials:</p>
  <ul>
  <li>I don't want everyone within my organisation to go through installing the AWS client.</li>
  <li>A third-party system I'm hosting doesn't allow me to install the AWS client - it does allow me to provide an alternative index or to specify a requirements.txt where I could add additional indices as well.</li>
  </ul>
  <p>Hence my question:
  <strong>How do I make access to a AWS CodeArtifact repository public / public in VPC (virtual private cloud), without need of credentials?</strong></p>
  <p>Both the users (through VPN) and the 3rd party application are already configured to be within the same VPC.</p>