MinIO File Storage in PanDev Metrics
TL;DR. PanDev Metrics keeps files in your MinIO or any other S3-compatible storage. Issue an access key pair in MinIO, then open Settings → Integrations → MinIO, enter the MinIO URL, Access Key, Secret Key and Bucket, click Test connection and Save. Without MinIO, files cannot be attached to Task Flow tasks. Audience: admin.
What is stored in MinIO
| Data | With MinIO | Without MinIO |
|---|---|---|
| Attachments of Task Flow tasks | Uploaded to the bucket | Cannot be attached |
| AI Datavisor reports | The file is uploaded to the bucket; the download link is valid for 1 hour | The file is rebuilt from the query at each download |
The MinIO settings apply to the whole company, not to one department.
Files are downloaded directly from MinIO by time-limited links, so the MinIO URL must be reachable not only from the PanDev Metrics server but also from your employees' browsers and IDEs.
Before you begin
- PanDev Metrics is up and running (Cloud workspace or on-prem instance)
- Admin access to your PanDev Metrics tenant
- A MinIO server or another S3-compatible storage, and an account that can issue access keys
Step 1 — Issue an access key in MinIO
- In the MinIO Console, open Access Keys → Create access key for the account PanDev Metrics will use.
- Restrict the key to the bucket for PanDev Metrics. The key needs these actions on it:
s3:ListBucket,s3:GetObject,s3:PutObject,s3:DeleteObject, ands3:CreateBucketif the bucket does not exist yet. - Copy the Access Key and Secret Key. The Secret Key is shown only once.
:::warning Keep the Secret Key secret The Secret Key grants whatever access the key was scoped with. Store it in a secret manager and do not share it. :::
Step 2 — Connect in PanDev Metrics
- Open Settings → Integrations → MinIO.
- Turn on Enable integration with MinIO.
- Fill in the form:
| Field | Value |
|---|---|
| MinIO URL | The address of the storage, for example https://minio.example.com |
| Access Key | The Access Key from Step 1 |
| Secret Key | The Secret Key from Step 1 |
| Bucket | The bucket for files, pandev-attachments by default. If it does not exist, it is created on save |
- Click Test connection. The check confirms the address and the key pair; the bucket is checked and created on save.
- After a successful check, click Save.
To stop storing files in MinIO, click Disconnect on the same screen. Files already in the bucket stay there, but attachments cannot be opened from tasks until MinIO is connected again.
Verify
- Open any task in Task Flow and attach a small file.
- Open the bucket in the MinIO Console — the file is there.
- Download the attachment from the task: it opens from the MinIO address.
Troubleshooting
Test connection fails with "MinIO error"
The PanDev Metrics server cannot reach the address. Check the MinIO URL — scheme, host and port — and that the server can open it. For on-prem, check firewall rules between the PanDev Metrics server and MinIO.
Test connection fails with an access error
The message starts with MinIO and the storage's error code, for example InvalidAccessKeyId or SignatureDoesNotMatch. Check the Access Key and Secret Key pair, or issue a new one.
Saving fails: the bucket cannot be created
The key has no s3:CreateBucket permission. Create the bucket in the MinIO Console in advance or grant the permission.
The attachment uploads but does not open
The employee's browser cannot reach the MinIO URL: for example, it is an internal address available only to the PanDev Metrics server. Publish MinIO on an address available to employees.
Related
- Guide: Task tracker (Task Flow)
- Guide: AI Datavisor
- How-to: AI providers