> ## Documentation Index
> Fetch the complete documentation index at: https://docs.quivr.thevibecompany.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Secure a Quivr deployment

> Verify release images, restrict operator access, and configure TLS.

Verify the images you deploy, expose only the application API through your HTTPS proxy, and restrict credentials and internal services to the processes that need them.

## Prerequisites

You need operator access to your deployment, an HTTPS proxy or load balancer, and [cosign](https://docs.sigstore.dev/cosign/system_config/installation/) to verify release signatures.

## Verify release images

Open the [GitHub release](https://github.com/The-Vibe-Company/quivr/releases) and find its version and `images.txt`. Verify each first-party digest you plan to use. For example, substitute a version and digest from the same release:

```sh theme={null}
VERSION='<release version without v>'
IMAGE='ghcr.io/the-vibe-company/quivr@sha256:<digest from images.txt>'
WORKFLOW='https://github.com/The-Vibe-Company/quivr/.github/workflows/release-images.yml'
cosign verify "$IMAGE" \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com \
  --certificate-identity "$WORKFLOW@refs/tags/v$VERSION"
cosign verify-attestation "$IMAGE" --type spdxjson \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com \
  --certificate-identity "$WORKFLOW@refs/tags/v$VERSION"
```

Deploy the verified digest. The attestation binds the software inventory (SBOM) to that digest and the release workflow's identity. The release also includes readable SPDX files such as `quivr.spdx.json` and `quivr-plugin-<id>.spdx.json`. If verification fails, stop and check the version, digest and signer before proceeding.

The release workflow scans images with Grype and blocks critical findings with an available fix. The [nightly workflow](https://github.com/The-Vibe-Company/quivr/actions/workflows/security-nightly.yml) rescans published images as vulnerability data changes.

## Secure the network

Terminate HTTPS at your proxy and forward HTTP to the API's `listen` address over a restricted network. Keep the unauthenticated `probe_listen` paths and the backing services private. Set a separate private `admin_listen` with dedicated admin keys so the public listener does not serve `/v0/admin/*`. Give applications [scoped keys](https://docs.quivr.thevibecompany.co/reference/configuration.md#api-keys) and keep secrets in protected files or a secret manager.

If plugins receive source webhooks, set `public_url` to the public HTTPS origin. Limit `connector_push.trusted_proxy_cidrs` to the proxy networks allowed to supply forwarded client addresses.

### Encrypt connections to dependencies

These settings apply when you supply the [engine JSON configuration](https://docs.quivr.thevibecompany.co/operate/deploy.md#configure-the-engine). Configure outbound TLS separately from the incoming HTTPS proxy:

* Use HTTPS URLs for Weaviate, S3 and plugins. Non-loopback connectors require HTTPS.
* Enable `tls.temporal.enabled` and leave the Temporal address in `host:port` form.
* For PostgreSQL, set `sslmode=verify-full` in `database_url` or configure `tls.postgres`.

Quivr verifies server certificates and names. Mount a PEM `ca_file` for a private CA and set `server_name` if the certificate uses a different name from the connection address. For dependencies that require a client certificate, mount both `cert_file` and `key_file`. Plugins support server TLS only. Give the API, worker and migrator access to the files, and restart the long-running processes after certificate rotation. Clients using S3 upload or download URLs also need to trust that S3 endpoint. See [Outbound TLS](https://docs.quivr.thevibecompany.co/reference/configuration.md#outbound-tls) for the exact fields and defaults.

## Check it worked

Confirm that the public address serves the expected certificate and forwards an authenticated application request. From the private network, check that the API and worker [report ready](https://docs.quivr.thevibecompany.co/operate/deploy.md#check-that-it-is-ready). If a dependency fails its TLS handshake, check the endpoint scheme, certificate name, chain, expiry and any required client certificate.

## Report a vulnerability

Use the private reporting instructions in [SECURITY.md](https://github.com/The-Vibe-Company/quivr/blob/main/SECURITY.md). Include the affected version, image digest and reproduction steps.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.