Configure Basic Authentication for Custom Artifactory Location
You require to configure Smart Agent to use basic authentication if it needs to communicate with an HTTP server that requests authentication. This applies to servers such as, Nexus, Artifactory, or any custom HTTP server.
user_portal_username: <username>
user_portal_password: <password>
user_portal_auth: basicIf you are using Smart Agent CLI, specify the variables before running the appd:
It is recommend to use the Custom Configurations section in the Agent Management UI.
sudo env ENABLE_CUSTOM_HTTP=true CUSTOM_HTTP_USERNAME=<username> CUSTOM_HTTP_PASSWORD=<password> ./appd install …You can specify the agent_source_location:
sudo env ENABLE_CUSTOM_HTTP=true CUSTOM_HTTP_USERNAME=<username> CUSTOM_HTTP_PASSWORD=<password> .
/appd install <agent-type> —extra-vars agent_source_location=<path-to-agent-zip-from-custom-url>