---
title: Charmhub | Deploy Notary using Charmhub - The Open Operator Collection
description: Deploy the latest version of Notary on any cloud.
url: https://charmhub.io/notary/docs/how-to-use-notary-behind-an-ingress
---

# Notary

[Yazan Salti](https://charmhub.io/publisher/yazansalti "View all packages from Yazan Salti")

* [Yazan Salti](https://charmhub.io/publisher/yazansalti "View all packages from Yazan Salti")

Platform:

24.04

edge 1

```
juju deploy notary --channel edge
```

[Learn to deploy on juju >](https://juju.is/docs/juju/manage-applications)

---

#### Relevant links

* [Homepage](https://charmhub.io/notary)

---

#### Contacts

* [Submit a bug](https://github.com/canonical/notary-k8s-operator/issues)

---

Share your thoughts on this charm with the community on discourse.

[Join the discussion](https://discourse.charmhub.io/)

# Run behind an ingress

In this guide we will list the necessary steps to achieve this using the [Traefik-K8s operator](https://charmhub.io/traefik-k8s) and run Notary behind an ingress.

### [Pre-requisites](https://charmhub.io/notary/docs/how-to-use-notary-behind-an-ingress#p-34144-pre-requisites)

* notary-k8s deployed on a Juju model

## [1. Deploy Traefik](https://charmhub.io/notary/docs/how-to-use-notary-behind-an-ingress#p-34144-h-1-deploy-traefik)

```
juju deploy traefik-k8s --channel edge --trust
```

## [2. Deploy Self Signed Certificates Operator](https://charmhub.io/notary/docs/how-to-use-notary-behind-an-ingress#p-34144-h-2-deploy-self-signed-certificates-operator)

```
juju deploy self-signed-certificates --channel beta
```

## [3. Integrate Self-Signed-Certificates Operator](https://charmhub.io/notary/docs/how-to-use-notary-behind-an-ingress#p-34144-h-3-integrate-self-signed-certificates-operator)

**Note**: For now this step is required so Notary and Traefik share the same CA certificate, this is going to be replaced with the `certificate-transfer-interface`.

```
juju integrate self-signed-certificates:certificates traefik-k8s:certificates
juju integrate self-signed-certificates:certificates notary-k8s:certificates
```

## [4. Integrate Notary with Traefik](https://charmhub.io/notary/docs/how-to-use-notary-behind-an-ingress#p-34144-h-4-integrate-notary-with-traefik)

```
juju integrate notary-k8s:ingress traefik-k8s:ingress
```

## [5. Get the URL](https://charmhub.io/notary/docs/how-to-use-notary-behind-an-ingress#p-34144-h-5-get-the-url)

Run the `show-proxied-endpoints` action on Traefik.

```
juju run traefik-k8s/0 show-proxied-endpoints
```

```
# Sample Action Output
Running operation 1 with 1 task
  - task 2 on unit-traefik-k8s-0

Waiting for task 2...
proxied-endpoints: '{"notary-k8s": {"url": "https://10.0.0.5/demo-notary-k8s"}}'
```

You should now be able to access Notary using the URL in the action output.

---
