---
title: Charmhub | Deploy Namecheap LEGO Operator (K8s) using Charmhub - The Open Operator
  Collection
description: Deploy the latest version of Namecheap LEGO Operator (K8s) as a Kubernetes
  Operator on any cloud.
url: https://charmhub.io/namecheap-lego-k8s/docs/h-how-to-provide-certificates
---

# Namecheap LEGO Operator (K8s)

[Canonical Telco](https://charmhub.io/publisher/telco-charmers "View all packages from Canonical Telco")

* [Canonical Telco](https://charmhub.io/publisher/telco-charmers "View all packages from Canonical Telco")

Platform:

stable 87

```
juju deploy namecheap-lego-k8s
```

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

---

#### Relevant links

* [Homepage](https://charmhub.io/namecheap-lego-k8s)

---

#### Contacts

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

---

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

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

# Provide certificates to a charm

In this guide, we will go through the steps neccessary to use the [Namecheap LEGO K8s](https://charmhub.io/namecheap-lego-k8s) for providing certificates to another charm.

Create a Juju Model:

```
juju add-model <your model name>
```

Deploy the Namecheap Lego K8s charm:

```
juju deploy namecheap-lego-k8s
```

Configure the charm with your ACME and Namecheap information:

```
juju config \
  server=<your ACME server> \
  email=<your email address> \
  namecheap-api-user=<your Namecheap API user> \
  namecheap-api-key=<your Namecheap API Key>
```

Deploy your charm that requires TLS certificates and integrate it with the Namecheap Lego K8s charm:

```
juju deploy <your charm>
juju integrate <your charm> namecheap-lego-k8s
```

---
