- Add api_tokens table migration (007) - Add APIToken model with CRUD operations - Generate tokens with upaas_ prefix + 32 hex chars - Store SHA-256 hash of tokens (not plaintext) - Update APISessionAuth middleware to check Bearer tokens - Add POST/GET/DELETE /api/v1/tokens endpoints - Token creation returns plaintext once; list never exposes it - Expired and revoked tokens are rejected - Tests for creation, listing, deletion, bearer auth, revocation |
||
|---|---|---|
| .. | ||
| 001_initial.sql | ||
| 002_remove_container_id.sql | ||
| 003_add_ports.sql | ||
| 004_add_commit_url.sql | ||
| 005_add_webhook_secret_hash.sql | ||
| 006_add_previous_image_id.sql | ||
| 007_add_api_tokens.sql | ||