Skip to content

Latest commit

 

History

History
26 lines (14 loc) · 625 Bytes

Authentication.md

File metadata and controls

26 lines (14 loc) · 625 Bytes

Authentication

There are two authentication points:

  1. Ingress
  2. Egress

Ingress authentication is for incoming requests to the gateway and can be used to identify who is accessing the gateway.

Egress authentication is for upstream repositories, especially the ones that need authentication e.g. CodeArtifact, JFrog, Nexus etc.

Ingress Authentication

Basic Authentication

Use htpasswd to add users:

htpasswd -nbB user1 password1 >> ./config/gateway-auth-basic.txt

Enable authentication for upstream in config/gateway.json