> ## Documentation Index
> Fetch the complete documentation index at: https://upstash-partnerstash.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Credential Protection

Enabling Credential Protection ensures your database credentials are never stored within Upstash infrastructure. This enhances security by making credentials accessible only once—at the moment they are generated.

<Note>
  Credential Protection is a [Production
  Pack](/redis/overall/enterprise#prod-pack-features)
  feature.
</Note>

## How It Works

When enabled:

* Redis database credentials are no longer stored in Upstash infrastructure
* Credentials are displayed only once during enablement - save them immediately
* Console features requiring database access are disabled (CLI, Data Browser, Monitor, RBAC)

## Managing Credential Protection

1. Go to database details page → Configuration section
2. Toggle **Protect Credentials** switch:

<Frame>
  <img src="https://mintcdn.com/upstash-partnerstash/iKfDl2hKx553UPFX/img/credential-protection/activate-protect-credentials.png?fit=max&auto=format&n=iKfDl2hKx553UPFX&q=85&s=ff91fa74fcedf9115da187f79a6d2936" width="1940" height="1186" data-path="img/credential-protection/activate-protect-credentials.png" />
</Frame>

3. Save the credentials shown in the modal:

<Frame>
  <img src="https://mintcdn.com/upstash-partnerstash/iKfDl2hKx553UPFX/img/credential-protection/save-credentials.png?fit=max&auto=format&n=iKfDl2hKx553UPFX&q=85&s=276fe87414e1770a9a059ec3e407a026" width="1940" height="1186" data-path="img/credential-protection/save-credentials.png" />
</Frame>

<Warning>
  Disabling this feature will permanently revoke current credentials and
  generate new ones, potentially breaking applications using those credentials.
</Warning>

## What If You Lose Your Credentials

**Reset Credentials**: This function remains available and, when credential protection is enabled, will generate new protected credentials.

<Frame>
  <img src="https://mintcdn.com/upstash-partnerstash/iKfDl2hKx553UPFX/img/credential-protection/reset-credentials.png?fit=max&auto=format&n=iKfDl2hKx553UPFX&q=85&s=0550c0846e66fa374335dccf428f8e7f" width="1940" height="1186" data-path="img/credential-protection/reset-credentials.png" />
</Frame>
