What is appKey?
The appKey is a secret credential used to authenticate your SDK client connections to the EnSync broker. You receive it when you create an app.Usage
Pass the appKey when creating your EnSync client:- Node.js
- Python
Security
Best Practices
- Never commit to version control: Use environment variables
- Rotate regularly: Create new keys and deprecate old ones
- Use different keys per environment: Separate dev/staging/production
- Limit permissions: Only grant necessary send/receive permissions
Sharing appKey
Multiple workers can share the same appKey to scale horizontally:Permissions
Each appKey has associated permissions that control:- Which events it can publish (
send) - Which events it can subscribe to (
receive)