> 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/self-managed-enterprise-edition/use-self-managed-enterprise-edition/smp-installationupgrade/helm-installation/helm-chart-provenance.md). Agents can also search and read this documentation through its [MCP server](https://developer.harness.io/~gitbook/mcp).

# Harness Helm Charts Provenance

Verify the integrity and origin of Harness Helm charts using GPG keys and Helm's provenance feature.

Harness Helm charts are now signed to ensure they are secure and trustworthy.

Starting with version [0.24.0](https://developer.harness.io/release-notes/platform/self-managed-enterprise-edition.md), you can verify the integrity and origin of the charts using GPG keys with Helm's provenance feature.

## Before you begin <a href="#before-you-begin" id="before-you-begin"></a>

Make sure you have shell access to a machine where you can install GnuPG and run Helm commands before you start verifying charts.

## How to verify signed Helm charts <a href="#how-to-verify-signed-helm-charts" id="how-to-verify-signed-helm-charts"></a>

### Step 1: Install GnuPG <a href="#step-1-install-gnupg" id="step-1-install-gnupg"></a>

First, ensure you have GnuPG installed to handle the GPG keys.

```bash
apk add --no-cache gnupg
```

### Step 2: Import the GPG public key <a href="#step-2-import-the-gpg-public-key" id="step-2-import-the-gpg-public-key"></a>

Import the Harness public key used to sign the charts. This key will be used to verify the signature.

```bash
gpg --keyserver hkps://keys.openpgp.org --receive-keys '6117ED4CA5F4605DBF4353F41F6E943934E6D138'
```

### Step 3: Convert keyring to legacy format <a href="#step-3-convert-keyring-to-legacy-format" id="step-3-convert-keyring-to-legacy-format"></a>

Convert the GPG keyring to a legacy format to be recognized by Helm provenance verification.

```bash
gpg --export >~/.gnupg/pubring.gpg
gpg --export-secret-keys >~/.gnupg/secring.gpg
```

### Step 4: Verify the Helm chart <a href="#step-4-verify-the-helm-chart" id="step-4-verify-the-helm-chart"></a>

Helm charts can be verified by downloading the chart or pulling it from the Helm repository.

#### a. verify downloaded chart <a href="#a-verify-downloaded-chart" id="a-verify-downloaded-chart"></a>

Download the Helm chart and its corresponding provenance file from the [**GitHub releases page**](https://github.com/harness/helm-charts/releases/tag/harness-0.24.0) (`*.tgz` and `*.tgz.prov` under Assets).

```bash
helm verify harness-0.24.0.tgz
```

#### b. verify using Helm repository <a href="#b-verify-using-helm-repository" id="b-verify-using-helm-repository"></a>

Add the Harness repository, then pull and verify the chart directly from it:

1. Add the Harness Helm repository:

   ```bash
   helm repo add harness https://harness.github.io/helm-charts/
   ```
2. Update the Helm repository:

   ```bash
   helm repo update
   ```
3. Pull the chart and verify it with the specified chart version:

   ```bash
   helm pull --verify harness/harness --version=0.24.0
   ```

### Step 5: Successful verification <a href="#step-5-successful-verification" id="step-5-successful-verification"></a>

A successful verification will display output similar to the following:

```plaintext
Signed by: Harness Inc. (Main key for Helm chart signing) <secops@harness.io>
Using Key With Fingerprint: 6117ED4CA5F4605DBF4353F41F6E943934E6D138
Chart Hash Verified: sha256:a1af3a0b8b54050070e15953c1c964a595720be2640c59fb2df947c259d18247
```

***

{% hint style="info" %}
**ADDITIONAL INFORMATION**

Go to the [official Helm documentation](https://helm.sh/docs/topics/provenance/) for more details on Helm chart signing and verification.
{% endhint %}

{% @harness-feedback/feedback %}
