Managing API Keys
API keys are used to authenticate requests to your WoWSQL project. Learn how to manage them securely.
7.1 API Keys Overview
Navigate to the API Keys section to view and manage your keys.
Figure 7.1: API Keys Overview
7.2 View API Keys
Your project has two types of API keys:
- Service Role Key - Full access (keep secret!)
- Anonymous Key - Public key for client-side use
Figure 7.2: View API Keys
7.3 Copy API Key
Click the copy button to copy your API key to the clipboard. Use it in your application code.
Figure 7.3: Copy API Key
7.4 Regenerate API Key
If your API key is compromised, regenerate it immediately. The old key will be invalidated.
Figure 7.4: Regenerate API Key
7.5 API Key Security
Best practices for API key security:
- Never commit API keys to version control
- Use environment variables
- Rotate keys regularly
- Use different keys for development and production