> For the complete documentation index, see [llms.txt](https://developer.harness.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.harness.io/harness-platform/use-harness-platform/connectors/artifact-repositories/nexus-connector-settings-reference.md).

# Nexus connector settings reference

This topic provides settings and permissions for the Nexus connector.

### Nexus permissions required <a href="#nexus-permissions-required" id="nexus-permissions-required"></a>

The user account associated with the connector must have the following permissions in the Nexus Server:

* Repo: All repositories (Read)
* Nexus UI: Repository Browser
* If using Nexus 3 as a Docker repo, the account also needs a role with the `nx-repository-view-*_*_*` privilege.

![](/files/gnC8NYlYntdvBB6k37BV)

For more information, go to the Sonatype documentation on [Managing Nexus security](https://help.sonatype.com/en/managing-security.html).

### Artifact type support <a href="#artifact-type-support" id="artifact-type-support"></a>

Legend:

* **M** - Metadata. This includes Docker image and registry information. For AMI, this means AMI ID-only.
* **Blank** - Not supported.

| **Docker Image**(Kubernetes/Helm) | **AWS AMI** | **AWS CodeDeploy** | **AWS Lambda** | **JAR** | **RPM** | **TAR** | **WAR** | **ZIP** | **PCF** | **IIS** |
| --------------------------------- | ----------- | ------------------ | -------------- | ------- | ------- | ------- | ------- | ------- | ------- | ------- |
| M                                 |             |                    |                |         |         |         |         |         |         | M       |

### Docker support <a href="#docker-support" id="docker-support"></a>

Nexus 3 Artifact Servers only.

### Nexus Artifact Server settings <a href="#nexus-artifact-server-settings" id="nexus-artifact-server-settings"></a>

The Harness Nexus Artifact server connects your Harness account to your Nexus artifact resources. It has the following settings.

#### Name, Description, and Tags <a href="#name-description-and-tags" id="name-description-and-tags"></a>

The unique name for this connector.

Harness creates an [Id (Entity Identifier)](/harness-platform/use-harness-platform/references/entity-identifier-reference.md) based on the name. You can change the **Id** while creating the connector. Once saved, the **Id** can't be changed, but you can change the **Name**.

**Description** and [**Tags**](/harness-platform/use-harness-platform/tags/overview.md#create-tags-for-pipelines) are optional.

#### Nexus Repository URL <a href="#nexus-repository-url" id="nexus-repository-url"></a>

The URL that you use to connect to your Nexus server. For example, `https://nexus3.dev.mycompany.io/repository/your-repo-name`.

![](/files/ZlrEUcdZ3GFfELzcse8Q)

#### Version <a href="#version" id="version"></a>

The supported Nexus version, `3.x`.

For Nexus 3.x, Harness supports only the Docker repository format as the artifact source.

#### Credentials <a href="#credentials" id="credentials"></a>

The username and password for the Nexus account to use for this connector.

For the password, select a [Harness text secret](/harness-platform/use-harness-platform/secrets/add-use-text-secrets.md).

### Nexus Artifact Details settings <a href="#nexus-artifact-details-settings" id="nexus-artifact-details-settings"></a>

#### Repository URL <a href="#repository-url" id="repository-url"></a>

The URL you would use in the Docker login to fetch the artifact. This is the same as the domain name and port you use for `docker login hostname:port`.

#### Repository Port <a href="#repository-port" id="repository-port"></a>

The port you use for `docker login hostname:port`.

As a best practice, include the scheme and port. For example, `https://your-repo:443`. If you cannot locate the scheme, you may omit it. For example, `your-repo:18080`.

For more information, go to the following Sonatype documentation:

* [Docker Repository Configuration and Client Connection](https://support.sonatype.com/hc/en-us/articles/115013153887-Docker-Repository-Configuration-and-Client-Connection)
* [Using Nexus 3 as Your Repository - Part 3: Docker Images](https://www.sonatype.com/blog/using-sonatype-nexus-repository-3-part-3-docker-images)

#### Repository <a href="#repository" id="repository"></a>

Name of the repository where the artifact is located.

#### Artifact Path <a href="#artifact-path" id="artifact-path"></a>

The name of the artifact you want to deploy. For example, `nginx`, `private/nginx`, or `public/org/nginx`.

The repository and artifact path must not begin or end with `/`.

![](/files/3XgBBUobo41ABBnsvcms)

#### Tag <a href="#tag" id="tag"></a>

Select a [tag](/harness-platform/use-harness-platform/tags/overview.md#create-tags-for-pipelines) from the list.
