s3webui

by wenisch.tech

Helm chartv1.13.1App 1.13.1AGPL-3.0

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.

ParameterDescriptionDefault
existingSecretsExisting Kubernetes Secrets imported as environment variables[]
secretsSensitive 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.

ParameterDescriptionDefault
persistence.enabledClaim a volume for /app/datafalse
persistence.sizeVolume size1Gi
persistence.storageClassStorage class, empty for the cluster default""
persistence.existingClaimUse an existing PVC instead of creating one""
persistence.mountPathMount path, matches env.APP_DATA_DIR/app/data
persistence.accessModesAccess modes[ReadWriteOnce]
strategyDeployment strategy; Recreate avoids two pods holding the H2 file{type: Recreate}
env.APP_DATA_DIRDirectory for the database and encryption key/app/data
env.SPRING_DATASOURCE_URLJDBC URL, e.g. jdbc:postgresql://postgres:5432/s3webuiH2 file
env.SPRING_DATASOURCE_DRIVER_CLASS_NAMEJDBC driverorg.h2.Driver
env.SPRING_DATASOURCE_USERNAMEDatabase usersa
env.SPRING_JPA_DATABASE_PLATFORMorg.hibernate.dialect.PostgreSQLDialect for PostgreSQL—
secrets.SPRING_DATASOURCE_PASSWORDDatabase password—

Administrator & Encryption Parameters

ParameterDescriptionDefault
env.ADMIN_EMAILAdministrator created on first start[email protected]
secrets.ADMIN_PASSWORDIts password — set this, the fallback is adminadmin
secrets.APP_ENCRYPTION_KEYBase64 encoded 32 byte AES key for stored S3 secretsgenerated 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.

ParameterDescriptionDefaultRequired
env.S3_ACCESS_KEYAWS/S3 access key""No
env.S3_SECRET_KEYAWS/S3 secret key""No
env.S3_ENDPOINT_URLS3 endpoint URL""No
env.S3_REGIONAWS regionus-east-1No
env.S3_INSECURE_SKIP_TLS_VERIFYSkip TLS verification (not recommended for production)falseNo

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.

ParameterDescriptionDefaultRequired
env.IAM_ENABLEDEnable the IAM management sectiontrueNo

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.

ParameterDescriptionDefaultRequired
env.DISABLE_AUTHENTICATIONDisable all application sign-in and make every visitor a virtual administratorfalseNo

OIDC Parameters

ParameterDescriptionDefaultRequired
env.OIDC_ENABLEDEnable OIDC authenticationfalseNo
env.OIDC_PROVIDER_NAMEDisplay name for single-provider setupSingle Sign-OnNo
env.OIDC_CLIENT_IDOIDC client ID (deprecated, use OIDC_PROVIDERS_*)""No
env.OIDC_ISSUER_URIOIDC issuer URI (deprecated, use OIDC_PROVIDERS_*)""No
env.OIDC_REQUIRED_ROLERestrict access to users with this role""No
env.OIDC_CREATEUSERSCreate a local record on first SSO sign-intrueNo
env.OIDC_INSECURE_SKIP_TLS_VERIFYSkip TLS verification for OIDCfalseNo
env.SERVER_FORWARD_HEADERS_STRATEGYHonor X-Forwarded-* from the ingressframeworkNo
env.SERVER_SERVLET_SESSION_COOKIE_SAME_SITESession cookie SameSite (see below)unsetNo
env.SERVER_SERVLET_SESSION_COOKIE_SECURESession cookie Secure (see below)unsetNo

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

ParameterDescriptionDefault
replicaCountNumber of replicas1
image.registryContainer image registryghcr.io
image.repositoryContainer image repositorywenisch-tech/s3webui
image.tagContainer image taglatest
image.pullPolicyImage pull policyIfNotPresent

Service & Ingress Parameters

ParameterDescriptionDefault
service.typeKubernetes service typeClusterIP
service.portService port8080
service.targetPortPod port8080
ingress.enabledEnable ingressfalse
ingress.classNameIngress class name""
ingress.hosts[0].hostIngress hostnames3webui.example.com
ingress.tlsTLS configuration[]

Security Parameters

ParameterDescriptionDefault
podSecurityContext.runAsUserPod user ID65532
podSecurityContext.fsGroupPod filesystem group65532
securityContext.allowPrivilegeEscalationAllow privilege escalationfalse
securityContext.readOnlyRootFilesystemRead-only root filesystemfalse

Resource Parameters

ParameterDescriptionDefault
resources.requests.cpuCPU request100m
resources.requests.memoryMemory request256Mi
resources.limits.cpuCPU limit500m
resources.limits.memoryMemory limit512Mi

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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the charts3webui is pinned at v1.13.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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