> ## Documentation Index
> Fetch the complete documentation index at: https://upstash-dx-3081-agentkit-tanstack-ai-backends.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, ACL)

## Managing Credential Protection

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

<Frame>
  <img src="https://mintcdn.com/upstash-dx-3081-agentkit-tanstack-ai-backends/AfG1yKUYIVsx6aCt/img/credential-protection/activate-protect-credentials.png?fit=max&auto=format&n=AfG1yKUYIVsx6aCt&q=85&s=bedd22828182e609873bf4bce317c7f5" alt="Enable Redis credential protection" 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-dx-3081-agentkit-tanstack-ai-backends/AfG1yKUYIVsx6aCt/img/credential-protection/save-credentials.png?fit=max&auto=format&n=AfG1yKUYIVsx6aCt&q=85&s=d3e3a30d593c529fa0eef88ae5c9c0fa" alt="Save protected Redis credentials" 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.
Navigate to the settings tab of your database and click **Reset Credentials**. You will be prompted to save the new credentials.

<Frame>
  <img src="https://mintcdn.com/upstash-dx-3081-agentkit-tanstack-ai-backends/AfG1yKUYIVsx6aCt/img/credential-protection/reset-credentials.png?fit=max&auto=format&n=AfG1yKUYIVsx6aCt&q=85&s=48154fb31bf5a596fc930f9dd1a33c41" alt="Reset protected Redis credentials" width="1940" height="1186" data-path="img/credential-protection/reset-credentials.png" />
</Frame>


## Related topics

- [Production Checklist](/redis/help/production-checklist.md)
- [Prod Pack & Enterprise](/redis/overall/enterprise.md)
- [Managing Healthcare Data](/redis/help/managing-healthcare-data.md)
- [Traffic Protection](/redis/sdks/ratelimit-ts/traffic-protection.md)
- [Vercel](/workflow/troubleshooting/vercel.md)
