docs: add Immich API key permissions section to README (#318)

Co-authored-by: ralksta <ralksta@users.noreply.github.com>
This commit is contained in:
Ralksta
2026-06-29 21:34:12 +03:00
committed by GitHub
parent a504f7296a
commit 11c077fed2

View File

@@ -95,6 +95,20 @@ RATE_LIMIT_RPM=120 # requests/min/IP, default: 120
ADMIN_PASSWORD=your-secure-password # enables /admin panel ADMIN_PASSWORD=your-secure-password # enables /admin panel
``` ```
### Immich API Key Permissions
Create a dedicated API key in Immich under **Account Settings → API Keys**. Immich Folio only needs **read access** — it never modifies your library.
| Permission | Required | Used for |
|---|---|---|
| `album.read` | ✅ Yes | List and fetch album metadata & photo lists |
| `asset.read` | ✅ Yes | Fetch asset metadata, EXIF data, thumbnails, previews, and originals |
| `asset.view` | ✅ Yes | Stream image/video files (thumbnail, preview, video playback) |
> **No write permissions needed.** `album.create`, `asset.upload`, `asset.delete`, etc. can all be left **off**.
> **Tip (Admin Panel):** The Admin Panel also uses `POST /search/metadata` to browse your full library for the hero image picker. This is covered by `asset.read` — no additional permission required.
### Gallery Config ### Gallery Config
All gallery structure — hero images, albums, subpages, grid layout, footer — is defined in `content/gallery.yaml`. All gallery structure — hero images, albums, subpages, grid layout, footer — is defined in `content/gallery.yaml`.