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

# Secrets encryption

> Understand encryption prerequisites and key retention for LanceDB Enterprise Secrets.

LanceDB Enterprise encrypts each [Secret](https://docs.lancedb.com/oss/v0-42-0/management/secret.md#encryption) value
with the deployment's configured encryption provider. Stored records contain
ciphertext and key identity, rather than the plaintext value.

The deployment operator configures the provider and access for the services that
create or read Secrets. Supported providers include AWS KMS, Google Cloud KMS,
Azure Key Vault and deployment-managed stored keys. A configured provider is
required before applications can create or bind Secrets; without one, the Secret
APIs are unavailable and Secret-dependent Function jobs cannot run.

Changing a Secret's value through `ALTER SECRET` is different from changing its
encryption key. A new provider/key configuration does not re-encrypt existing
records. The operator must retain keys and versions needed by stored values,
backups and running jobs. Deleting an encryption key can make those values
permanently unreadable.

For self-managed installations, deployment operators should use the
release-matched deployment guides supplied with LanceDB Enterprise for provider
provisioning, access policies and key changes. Coordinate changes in BYOC and
Dedicated services with the deployment owner.

Use the [Function Secrets guide](https://docs.lancedb.com/oss/v0-42-0/enterprise/function-secrets.md) to create, bind and
alter application Secrets.


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