s3webui
by wenisch.tech
A graphical web interface for S3 object storage
About this chart
S3WebUI Helm Chart
A Kubernetes Helm chart for deploying S3WebUI — a graphical web interface for S3-compatible object storage systems like MinIO, AWS S3, and others.
Features
- Multi-provider OIDC support for single sign-on integration
- S3 storage configuration with support for any S3-compatible endpoint
- Kubernetes-native deployment with security context and resource controls
- Health checks with configurable liveness and readiness probes
- Ingress support for external access
- Flexible authentication with optional role-based access control
Prerequisites
- Kubernetes 1.20+
- Helm 3.0+
- An S3-compatible object storage service (AWS S3, MinIO, etc.)
- (Optional) OIDC provider for single sign-on (Keycloak, Okta, etc.)
Installation
Add the Chart Repository
helm repo add wenisch-tech https://charts.wenisch.tech
helm repo update
Or install straight from the OCI registry, without adding a repository:
helm install s3webui oci://ghcr.io/wenisch-tech/helm-charts/s3webui
Install the Chart
Basic installation with S3 configuration:
helm install s3webui wenisch-tech/s3webui \
--set env.S3_ACCESS_KEY="your-access-key" \
--set env.S3_SECRET_KEY="your-secret-key" \
--set env.S3_ENDPOINT_URL="https://s3.example.com" \
--set env.S3_REGION="us-east-1"
Installation with OIDC single sign-on:
helm install s3webui wenisch-tech/s3webui \
--set env.S3_ACCESS_KEY="your-access-key" \
--set env.S3_SECRET_KEY="your-secret-key" \
--set env.S3_ENDPOINT_URL="https://s3.example.com" \
--set env.OIDC_ENABLED="true" \
--set env.OIDC_PROVIDER_NAME="Company SSO" \
--set env.OIDC_CLIENT_ID="s3webui" \
--set env.OIDC_ISSUER_URI="https://auth.example.com/realms/main" \
--set secrets.OIDC_CLIENT_SECRET="your-oidc-client-secret"
Installation with multiple OIDC providers:
helm install s3webui wenisch-tech/s3webui \
--set env.S3_ACCESS_KEY="your-access-key" \
--set env.S3_SECRET_KEY="your-secret-key" \
--set env.S3_ENDPOINT_URL="https://s3.example.com" \
--set env.OIDC_ENABLED="true" \
--set "env.OIDC_PROVIDERS_0_NAME=Internal SSO" \
--set "env.OIDC_PROVIDERS_0_CLIENT_ID=s3webui" \
--set "env.OIDC_PROVIDERS_0_ISSUER_URI=https://auth.example.com/realms/main" \
--set "env.OIDC_PROVIDERS_1_NAME=Partner Login" \
--set "env.OIDC_PROVIDERS_1_CLIENT_ID=s3webui-partner" \
--set "env.OIDC_PROVIDERS_1_ISSUER_URI=https://partner.example.com/realms/partner" \
--set "secrets.OIDC_PROVIDERS_0_CLIENT_SECRET=secret-for-internal" \
--set "secrets.OIDC_PROVIDERS_1_CLIENT_SECRET=secret-for-partner"
Using a Values File
Create a values-prod.yaml file:
replicaCount: 2
image:
tag: v0.5.2
service:
type: LoadBalancer
ingress:
enabled: true
className: nginx
hosts:
- host: s3.example.com
paths:
- path: /
tls:
- secretName: s3webui-tls
hosts:
- s3.example.com
resources:
requests:
cpu: 200m
memory: 512Mi
limits:
cpu: 1000m
memory: 1Gi
env:
S3_ENDPOINT_URL: "https://s3.prod.example.com"
S3_REGION: "us-west-2"
S3_INSECURE_SKIP_TLS_VERIFY: "false"
OIDC_ENABLED: "true"
OIDC_PROVIDERS_0_NAME: "Corporate SSO"
OIDC_PROVIDERS_0_CLIENT_ID: "s3webui"
OIDC_PROVIDERS_0_ISSUER_URI: "https://keycloak.example.com/realms/production"
secrets:
S3_ACCESS_KEY: "prod-access-key"
S3_SECRET_KEY: "prod-secret-key"
OIDC_PROVIDERS_0_CLIENT_SECRET: "prod-oidc-secret"
Install using the values file:
helm install s3webui ./s3webui -f values-prod.yaml
Configuration
Secret Sources
Use secrets for sensitive values that Helm should store in a chart-managed Kubernetes Secret. To
keep those values out of Helm, create one or more Kubernetes Secrets separately and list their names
under existingSecrets:
existingSecrets:
- s3webui-oidc-prod
- s3webui-s3-credentials
The keys in each existing Secret must match the application's environment variable names. Both
mechanisms can be used together; if a key occurs in both, the chart-managed secrets value takes
precedence.
| Parameter | Description | Default |
|---|---|---|
existingSecrets | Existing Kubernetes Secrets imported as environment variables | [] |
secrets | Sensitive values stored in a chart-managed Kubernetes Secret | {} |
Database & Persistence Parameters
The chart ships with an H2 file database in /app/data, which also holds the generated encryption
key protecting the stored S3 secrets. Enable persistence, or both are lost on every restart.
The H2 file tolerates a single writer, so keep replicaCount: 1 — more replicas need PostgreSQL
and sticky sessions, because HTTP sessions are held in memory.
| Parameter | Description | Default |
|---|---|---|
persistence.enabled | Claim a volume for /app/data | false |
persistence.size | Volume size | 1Gi |
persistence.storageClass | Storage class, empty for the cluster default | "" |
persistence.existingClaim | Use an existing PVC instead of creating one | "" |
persistence.mountPath | Mount path, matches env.APP_DATA_DIR | /app/data |
persistence.accessModes | Access modes | [ReadWriteOnce] |
strategy | Deployment strategy; Recreate avoids two pods holding the H2 file | {type: Recreate} |
env.APP_DATA_DIR | Directory for the database and encryption key | /app/data |
env.SPRING_DATASOURCE_URL | JDBC URL, e.g. jdbc:postgresql://postgres:5432/s3webui | H2 file |
env.SPRING_DATASOURCE_DRIVER_CLASS_NAME | JDBC driver | org.h2.Driver |
env.SPRING_DATASOURCE_USERNAME | Database user | sa |
env.SPRING_JPA_DATABASE_PLATFORM | org.hibernate.dialect.PostgreSQLDialect for PostgreSQL | — |
secrets.SPRING_DATASOURCE_PASSWORD | Database password | — |
Administrator & Encryption Parameters
| Parameter | Description | Default |
|---|---|---|
env.ADMIN_EMAIL | Administrator created on first start | [email protected] |
secrets.ADMIN_PASSWORD | Its password — set this, the fallback is admin | admin |
secrets.APP_ENCRYPTION_KEY | Base64 encoded 32 byte AES key for stored S3 secrets | generated to disk |
The administrator is created only while the user table is empty; changing the password later has no
effect. Supply APP_ENCRYPTION_KEY (openssl rand -base64 32) to run without a persistent volume.
S3 Storage Parameters
These are optional. Set all three of access key, secret key and endpoint URL to publish a built-in key available to every signed-in user; all other keys are created in the administration panel.
| Parameter | Description | Default | Required |
|---|---|---|---|
env.S3_ACCESS_KEY | AWS/S3 access key | "" | No |
env.S3_SECRET_KEY | AWS/S3 secret key | "" | No |
env.S3_ENDPOINT_URL | S3 endpoint URL | "" | No |
env.S3_REGION | AWS region | us-east-1 | No |
env.S3_INSECURE_SKIP_TLS_VERIFY | Skip TLS verification (not recommended for production) | false | No |
IAM Parameters
Optional management of the storage backend's own users, groups, access keys and policies. On by
default; the application detects at runtime whether the backend answers IAM calls and disables the
panel, with the reason, when it does not. Set this to "false" to remove the feature entirely.
| Parameter | Description | Default | Required |
|---|---|---|---|
env.IAM_ENABLED | Enable the IAM management section | true | No |
Backend support: AWS is complete. Ceph RGW (Squid or later) supports users, groups, access keys and inline policies but needs an account root user's key, and has no standalone policies — the Policies tab disables itself and only Ceph's six built-in managed policies can be attached. MinIO does not implement the IAM API.
Open Settings → IAM as an administrator after selecting an S3 key with IAM permissions. The selected key determines which IAM operations are available, and all changes are recorded in the application's audit history. Creating an IAM user creates its first access key; additional keys can be created later. Generated keys are stored as encrypted S3 Web UI keys for the same endpoint, with no application grants initially, and the secret is shown only once after creation. Assign grants under Settings → S3 keys before making a generated key available to non-administrators.
Authentication Parameters
By default, S3 Web UI requires a local or OIDC sign-in. Set env.DISABLE_AUTHENTICATION to
"true" only when a trusted network boundary protects the application: every visitor becomes a
virtual administrator, local user management is unavailable, and OIDC configuration is ignored.
IAM management remains available. See the sign-in guide for
the local, OIDC, and disabled-authentication modes.
| Parameter | Description | Default | Required |
|---|---|---|---|
env.DISABLE_AUTHENTICATION | Disable all application sign-in and make every visitor a virtual administrator | false | No |
OIDC Parameters
| Parameter | Description | Default | Required |
|---|---|---|---|
env.OIDC_ENABLED | Enable OIDC authentication | false | No |
env.OIDC_PROVIDER_NAME | Display name for single-provider setup | Single Sign-On | No |
env.OIDC_CLIENT_ID | OIDC client ID (deprecated, use OIDC_PROVIDERS_*) | "" | No |
env.OIDC_ISSUER_URI | OIDC issuer URI (deprecated, use OIDC_PROVIDERS_*) | "" | No |
env.OIDC_REQUIRED_ROLE | Restrict access to users with this role | "" | No |
env.OIDC_CREATEUSERS | Create a local record on first SSO sign-in | true | No |
env.OIDC_INSECURE_SKIP_TLS_VERIFY | Skip TLS verification for OIDC | false | No |
env.SERVER_FORWARD_HEADERS_STRATEGY | Honor X-Forwarded-* from the ingress | framework | No |
env.SERVER_SERVLET_SESSION_COOKIE_SAME_SITE | Session cookie SameSite (see below) | unset | No |
env.SERVER_SERVLET_SESSION_COOKIE_SECURE | Session cookie Secure (see below) | unset | No |
Administrator status comes from the database, not from the token: promote users under Settings → Users in the application.
If SSO login redirects back to a generic error page and the pod log shows
authorization_request_not_found, the session cookie carrying the pending OIDC state isn't making it
back on the callback. Set SERVER_SERVLET_SESSION_COOKIE_SAME_SITE=None and
SERVER_SERVLET_SESSION_COOKIE_SECURE=true — only with TLS terminated in front, since browsers drop
Secure cookies sent over plain HTTP, which would break sign-in entirely. Also keep replicaCount: 1
unless sessions are shared (PostgreSQL alone does not share them — see the database parameters above);
the callback has to land on the same instance that issued the redirect.
Multi-Provider OIDC (Indexed Variables)
Configure multiple OIDC providers by using indexed environment variables:
env:
OIDC_ENABLED: "true"
OIDC_PROVIDERS_0_NAME: "Internal SSO"
OIDC_PROVIDERS_0_CLIENT_ID: "s3webui"
OIDC_PROVIDERS_0_ISSUER_URI: "https://auth.example.com/realms/main"
OIDC_PROVIDERS_1_NAME: "Partner Login"
OIDC_PROVIDERS_1_CLIENT_ID: "s3webui-partner"
OIDC_PROVIDERS_1_ISSUER_URI: "https://partner.example.com/realms/partner"
secrets:
OIDC_PROVIDERS_0_CLIENT_SECRET: "client-secret-internal"
OIDC_PROVIDERS_1_CLIENT_SECRET: "client-secret-partner"
Each provider will display its own button on the login page. Increment the index (0, 1, 2, ...) for additional providers.
Deployment Parameters
| Parameter | Description | Default |
|---|---|---|
replicaCount | Number of replicas | 1 |
image.registry | Container image registry | ghcr.io |
image.repository | Container image repository | wenisch-tech/s3webui |
image.tag | Container image tag | latest |
image.pullPolicy | Image pull policy | IfNotPresent |
Service & Ingress Parameters
| Parameter | Description | Default |
|---|---|---|
service.type | Kubernetes service type | ClusterIP |
service.port | Service port | 8080 |
service.targetPort | Pod port | 8080 |
ingress.enabled | Enable ingress | false |
ingress.className | Ingress class name | "" |
ingress.hosts[0].host | Ingress hostname | s3webui.example.com |
ingress.tls | TLS configuration | [] |
Security Parameters
| Parameter | Description | Default |
|---|---|---|
podSecurityContext.runAsUser | Pod user ID | 65532 |
podSecurityContext.fsGroup | Pod filesystem group | 65532 |
securityContext.allowPrivilegeEscalation | Allow privilege escalation | false |
securityContext.readOnlyRootFilesystem | Read-only root filesystem | false |
Resource Parameters
| Parameter | Description | Default |
|---|---|---|
resources.requests.cpu | CPU request | 100m |
resources.requests.memory | Memory request | 256Mi |
resources.limits.cpu | CPU limit | 500m |
resources.limits.memory | Memory limit | 512Mi |
Health Check Parameters
Liveness and readiness deliberately hit different health groups, not the comb
Deploy s3webui with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has s3webui on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the charts3webui is pinned at v1.13.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply