Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

1.4 KB
Raw Blame
---
title: "Key management service (KMS) configuration"
sidebarTitle: "Overview"
description: "Learn how to configure your project's encryption"
---

## Introduction

Infisical leverages a Key Management Service (KMS) to securely encrypt and decrypt secrets in your projects.

## Overview

Infisical's KMS ensures the security of your project's secrets through the following mechanisms:

- Each project is assigned a unique workspace key, which is responsible for encrypting and decrypting secret values.
- The workspace key itself is encrypted using the project's configured KMS.
- When secrets are requested, the workspace key is derived from the configured KMS. This key is then used to decrypt the secret values on-demand before sending them to the requesting client.

## Configuration

You can set the KMS for a new project while creating it: expand **Advanced Settings** in the create project dialog and pick from the **KMS** dropdown.
![Configure KMS new](../../../images/platform/kms/configure-kms-new.png)
For an existing project, go to the project's **Settings** and select **Encryption**.
![Configure KMS existing](../../../images/platform/kms/configure-kms-existing.png)

## External KMS

Infisical supports the use of external KMS solutions to enhance security and compliance. You can configure your project to use services like [AWS Key Management Service](./aws-kms) or [GCP Key Management Service](./gcp-kms) for managing encryption.