API Keys
Manage your API keys through the dashboard or programmatically.
Create a Service API Key
bash
curl -X POST https://api.wayscloud.services/v1/account/api-keys/service \
-H "Authorization: Bearer YOUR_PAT" \
-H "Content-Type: application/json" \
-d '{"name": "my-app", "service_name": "dns", "permissions": ["read", "write"]}'Key Types
| Type | Use Case | Prefix |
|---|---|---|
| Service Key | Service API access | wayscloud_{service}_ |
| PAT | Account management, CLI | wayscloud_pat_ |
Security
- Keys are shown only once at creation
- Rotate keys regularly
- Use the minimum required permissions
- Revoke unused keys promptly