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

# Best Practices for Users

These recommendations cover how to use Context7 securely across credentials, repository access, and network usage.

## Secure Your API Keys

* Never commit API keys to version control
* Use environment variables for key storage
* Rotate keys regularly
* Use different keys for different environments
* Revoke unused or compromised keys immediately

## Private Repositories

For private repository access:

* Only grant minimum required permissions
* Use dedicated API keys for private repos
* Regularly audit access permissions
* Consider using GitHub Apps with fine-grained permissions

## Network Security

* Use HTTPS for all API communications (enforced)
* Configure proxy settings securely if behind a firewall
* Monitor API usage for unusual patterns
* Implement request timeouts and retries
