# Authentication

All requests to the Proxy must be authenticated using HTTP Basic Authentication over HTTPS. Credentials are provisioned by your Lineaje platform administrator and stored as a Jenkins (or CI system) credential referred as `ARTIFACTORY_CREDS` in below examples.&#x20;

**Credential format**: username : password/token pair, base64-encoded in the Authorization header. When configured correctly, is handled automatically by Maven, pip, and npm.&#x20;

<details>

<summary>Referencing Credentials in a Jenkinsfile</summary>

In the Jenkinsfile, use the credentials block to expose the username and password as environment variables:

```
ARTIFACTORY_CREDS = credentials(‘<ID>’) 
Username and Password are now available in environment as ARTIFACTORY_CREDS_USR, ARTIFACTORY_CREDS_PSW 
```

</details>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.veedna.com/gold-open-source-gos/gold-catalog/oss-packages/integrating-lineaje-gos-artifactory-proxy-into-your-ci-cd-pipeline/authentication.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
