--- title: ClearML Presign Service --- The ClearML Presign Service is a secure service that generates and redirects pre-signed storage URLs for authenticated users, enabling direct access to cloud-hosted data (e.g., S3) without exposing credentials. ## Prerequisites - A ClearML Enterprise Server is up and running. - API credentials (`` and ``) generated via the ClearML UI (**Settings > Workspace > API Credentials > Create new credentials**). For more information, see [ClearML API Credentials](../../../webapp/settings/webapp_settings_profile.md#clearml-api-credentials). :::note Make sure these credentials belong to an admin user or a service user with admin privileges. ::: - The worker environment must be able to access the ClearML Server over the same network. - Token to access `clearml-enterprise` Helm chart repo ## Installation ### Add the Helm Repo Locally Add the ClearML Helm repository: ```bash helm repo add clearml-enterprise https://raw.githubusercontent.com/clearml/clearml-enterprise-helm-charts/gh-pages --username --password ``` Update the repository locally: ```bash helm repo update ``` ### Prepare Configuration Create a `presign-service.override.yaml` file (make sure to replace the placeholders): ```yaml imageCredentials: password: "" clearml: apiServerUrlReference: "" apiKey: "" apiSecret: "" ingress: enabled: true hostName: "" ``` ### Deploy the Helm Chart Install the `clearml-presign-service` Helm chart in the same namespace as the ClearML Enterprise server: ```bash helm install -n clearml clearml-presign-service clearml-enterprise/clearml-presign-service -f presign-service.override.yaml ``` ### Update ClearML Enterprise Server Configuration Enable the ClearML Server to use the Presign Service by editing your `clearml-values.override.yaml` file. Add the following to the `apiserver.extraEnvs` section (make sure to replace ``). ```yaml apiserver: extraEnvs: - name: CLEARML__SERVICES__SYSTEM__COMPANY__DEFAULT__SERVICES value: "[{\"type\":\"presign\",\"url\":\"https://\",\"use_fallback\":\"false\",\"match_sets\":[{\"rules\":[{\"field\":\"\",\"obj_type\":\"\",\"regex\":\"^s3://\"}]}]}]" ``` Apply the changes with a Helm upgrade.