install

New Ory Agent Security is now live!

Danger

The APIs of Ory open-source Servers don't come with integrated access control. This means that all requests sent to their APIs are considered authenticated, authorized, and will be executed. Leaving the APIs in this state can lead to severe security risks.

When deploying Ory open-source Servers, protect access to their APIs using Ory Oathkeeper or a comparable API Gateway.

If you need help, reach out to the community on Ory Community Slack.

Ory Hydra Enterprise License (OEL) is distributed as a Docker image from Ory's private enterprise Docker registry. Unlike the open source build, it is not available as a public binary download or from GitHub releases, and it requires authentication to pull.

Prerequisites

Before starting the process, ensure you meet the following requirements:

Docker registry

The Ory Hydra OEL image is available from the EU region registry:

europe-docker.pkg.dev/ory-artifacts/ory-enterprise/hydra-oel

Authenticate to the registry

Enterprise Docker images are kept in a private registry that requires authorization. An authorization key is provided for each customer separately. The following steps assume the key is stored in keyfile.json.

gcloud auth activate-service-account --key-file=keyfile.json

gcloud auth configure-docker europe-docker.pkg.dev

Pull the image

Replace <image-tag> with the newest tag from Available image tags at the bottom of this page:

docker pull europe-docker.pkg.dev/ory-artifacts/ory-enterprise/hydra-oel:<image-tag>

Run with Docker

To run Ory Hydra OEL, set the DSN environment variable to your database connection string and provide a configuration file. Pass the configuration file with the -c / --config flag and mount it into the container.

Note: Provide the database connection string through the DSN environment variable. The enterprise build reads DSN from the environment when initializing, and supplying it this way works for both the migration and serve steps.

Before deploying the service, apply the SQL migrations:

docker run \
-e DSN=your_database_connection_string \
europe-docker.pkg.dev/ory-artifacts/ory-enterprise/hydra-oel:<image-tag> \
migrate sql up -e -y

Then start the service:

docker run \
-p 4444:4444 -p 4445:4445 \
-e DSN=your_database_connection_string \
-v /path/to/config:/etc/config/hydra \
europe-docker.pkg.dev/ory-artifacts/ory-enterprise/hydra-oel:<image-tag> \
serve all -c /etc/config/hydra/hydra.yaml

Run on Kubernetes

Ory publishes Helm charts for all enterprise builds. Add the Ory Helm repository:

helm repo add ory https://k8s.ory.com/helm/charts

helm repo update

Create the ory namespace:

kubectl create namespace ory

Create a Kubernetes secret containing the image registry credentials:

kubectl create secret docker-registry ory-oel-gcr-secret \
  --docker-server=europe-docker.pkg.dev \
  --docker-username=_json_key \
  --docker-password="$(cat keyfile.json)" \
  --namespace ory

Create a Kubernetes secret containing the DSN and other secret values:

apiVersion: v1
kind: Secret
metadata:
  name: ory-oel-hydra-secret
  namespace: ory
data:
  dsn:
  # Add any additional secrets required by your configuration, base64-encoded.
  # https://www.ory.com/docs/hydra/reference/configuration

Create a values.yaml file to customize the configuration:

image:
  registry: europe-docker.pkg.dev
  repository: ory-artifacts/ory-enterprise/hydra-oel
  tag: <replace-with-current-image-tag>
imagePullSecrets:
- name: ory-oel-gcr-secret
hydra:
  automigration:
    enabled: true
serviceMonitor:
  enabled: true
secret:
  enabled: false
  nameOverride: "ory-oel-hydra-secret"
config:
  # Ory Hydra config
  # https://www.ory.com/docs/hydra/reference/configuration

Install Ory Hydra:

helm install ory-oel-hydra ory/hydra --namespace ory --create-namespace -f values.yaml

Available image tags

The tags are ordered by date. Pick the newest tag from the top of the list.

Image Tag Release Date
26.4.7 2026-10-22
26.4.6 2026-10-22
26.4.5 2026-10-21
26.4.4 2026-10-20
26.4.3 2026-10-15
26.4.2 2026-10-13
26.3.19 2026-09-30
26.3.18 2026-09-28
26.3.17 2026-09-24
26.3.16 2026-09-23
26.3.15 2026-09-21
26.3.14 2026-09-15
26.3.13 2026-09-10
26.3.9 2026-08-18
26.3.4 2026-07-28
26.3.3 2026-07-10
26.3.2 2026-07-09
26.3.1 2026-07-06
26.3.0 2026-07-01
26.2.22 2026-06-26
26.2.21 2026-06-23
26.2.20 2026-06-19
26.2.19 2026-06-17
26.2.18 2026-06-11
26.2.17 2026-06-10
26.2.16 2026-06-05
26.2.15 2026-06-02
26.2.14 2026-05-29
26.2.13 2026-05-22
26.2.12 2026-05-20
26.2.11 2026-05-15
26.2.10 2026-05-11
26.2.9 2026-05-04
26.2.8 2026-04-28
26.2.7 2026-04-24
26.2.6 2026-04-22
26.2.5 2026-04-20
26.2.4 2026-04-14
26.2.3 2026-04-02
26.2.2 2026-03-26
26.2.1 2026-03-25
26.2.0 2026-03-20
26.1.18 2026-03-13
26.1.17 2026-03-11
26.1.16 2026-03-09
26.1.15 2026-02-26
26.1.14 2026-02-25
26.1.13 2026-02-20
26.1.12 2026-02-19
26.1.11 2026-02-17
26.1.10 2026-02-11
26.1.9 2026-02-09
26.1.8 2026-02-05
26.1.7 2026-02-04
26.1.6 2026-02-04
26.1.5 2026-02-01
26.1.4 2026-01-26
26.1.3 2026-01-22
26.1.2 2026-01-18
26.1.1 2026-01-17
26.1.0 2026-01-05
25.4.12 2025-12-24
25.4.11 2025-12-23
25.4.10 2025-12-22
25.4.9 2025-12-18
25.4.8 2025-12-09
25.4.5 2025-12-04
25.4.3 2025-12-01
25.4.2 2025-11-25
25.4.1 2025-11-19
25.4.0 2025-11-07
25.3.9 2025-10-30
25.3.8 2025-10-23
25.3.6 2025-10-10
25.3.5 2025-10-03
25.3.4 2025-09-26
25.3.3 2025-09-18
25.3.2 2025-09-08
25.3.1 2025-09-03
25.3.0 2025-08-20
8d6ee03cc8181d3277100a4b7412a3a113799964 2025-08-12
8fcb534888e8853836a97ead241bef518f6fc263 2025-08-04
beebb63c5cd4a58b218a792027b34d231735dc05 2025-07-25
097934fff2bda05c808d962a92f52140f80dff83 2025-07-25
cab093b480501b914f6b2eda1f306b8d6e179ab4 2025-07-16
9cde70b7b994db145ab08bc3e1288b49cd7b3696 2025-07-08
6147132bd97e3d9146037beeaebf8d315b760ed2 2025-07-04
86970d22e81479695c130079707f8f9dc0929885 2025-07-03
4a0cd2779d9c80fecb3f1ce49efad606942421fd 2025-07-01
37fbe9cc74369230ab90af9ea92817e39191b549 2025-06-27
ea3038323329fb703a31bde1abc1a0cf41a08926 2025-06-23
19fae4f763fa139db38db601000cb80b53ebde4d 2025-06-20
290abca8469dc46c1ba07708849fed28fdbc1b69 2025-06-11
d389bd4c1bc21c1cdaf5e60688314a5bf9bfce3e 2025-06-06
d4f640cf72989adf24ba153919ede18d4cddc98e 2025-05-27
86516686797493772d75d3ab118e2107607b530c 2025-05-23
a4de81abb7c19ee1c227aca07d43b5693252003a 2025-05-21
e85c1a42ff8bf17f38d9b62abf6e8f33432c7f2a 2025-05-16
e4fa9d0244d703c844843fc9a07f236013412894 2025-05-05
40a5e4e273445838a7cb10579c0bbcf6b43be51c 2025-04-22
2e109bde0929be56c99a1fdfd071cca71cff0027 2025-04-16
07a33841df96ebce3e61015c63c33ccfa6e245f1 2025-04-08
f9189059fadf9f4ea7e8961b05d26836673e95ab 2025-04-08
50b7f9d3f9b3bfe9258a777bfe96efffdbeb6fd8 2025-04-01
8825ef2357bc9485f39bbcfd695f2dcab51e2b2f 2025-03-31
367fce6d847b7bdba50515705ae75c9c56cbec6a 2025-03-27
ba208705029b9a015a72206e348c39bd814fcd0c 2025-03-20
25c058e5a20b8524361ecd6f8e185622745c8f79 2025-03-14
22c323f50880f0227915c536f5eefa106e9387d7 2025-03-12
b225881c54ea601c1e925f1f142c1ab373336c9c 2025-03-11
a670e7889d09bf51ef1e69d29ca61611e1b0e802 2025-03-06
3941aaf70247f3d315e545956be38de70b14c044 2025-03-04
76b6f8eb08f8371d99109cfc60da26d23bcd8b52 2025-02-28
429289a6c08b5619c86e34313376b597131108fc 2025-02-24
19f3f0fbbfb9cb48788789c47352ce8f582ea64c 2025-02-21
569c06b47e9ccd9548afa71d22e7ba4e3b1d5b01 2025-02-14
e17b2ea61cc69e70f252e384d5ccbac83e504ced 2025-02-12
29c1dd6b0b5d0b991019e2730f4efd4fce86fa48 2025-02-04
35ba5a70b32d69c3b623f312f985f69a54f71029 2025-01-31
e879d83cd5cc0cba4a0ec3399ef32f252c220b0e 2025-01-30
ea5c69132fe43cfe35e2e8f068906a652936d329 2025-01-30
9f377c2778e987aaeded444309f61361559d04ea 2025-01-22
139630050d4da09c6ea58e937ae923a27aed078f 2025-01-16
4e1c5d215f165a3b186b13fbbf3ecf0206fba92d 2025-01-16
edabe30a788945411489409852bca93a60e18837 2025-01-02
f941460ee49d64a9653ba6886700d05c1e729b9d 2024-12-24
3c860bb15843a99056e2e9ce469f935a4e68f790 2024-12-20
2ec082f971c8a85f325db338e63889017b81bf6f 2024-12-18
4de7ed84637c14f9ae3b85175156c837e472ced0 2024-12-16
6323ac2d73b302898ad2f415b28a0c87293e7eb1 2024-12-10
a1201e72919f47cb7e6dd0c6eba8db8266ed7045 2024-11-29
2575b683dcff45af2d18e7ed23a2a7aca3eea5d4 2024-11-25
94d6dfba9d81c00ff03ad61a0005e93a974a03f7 2024-11-12
69efdbbb45f642b5b142426a03a255f39e276689 2024-11-05
f5eb2f3ae6c3ece3e00dc68c5e8743de7e9f1117 2024-11-05
83f53137a823ee0ace7e2ae94e7823caa036b800 2024-10-17
14f390f978b2ebcdc8e181ac04f9978a397e21d2 2024-10-11
a22eff120ff38ee4596ed3afddb4ca4307b1adbb 2024-10-07
75ade08cd441f43f7771ed4f11417a30ff0b31ac 2024-09-27
e2439391378f3abd513fb13847bc6a1b5f0157f1 2024-09-26
52ebf819f5538176c7ac1c4afc953123e8f0d3bf 2024-09-24
c35bfb780da7ddacba23f31b5e1634fa155af9c9 2024-09-19
20b15ef54f30d3d43a5d04bcdb7fd1d1f3fa2832 2024-09-10
ce413707a03c4551b3f0bbe2e1e9c929a7e0b025 2024-09-05
bf4441cc6dc1f8e8387173ae8f1396395dc1f433 2024-08-30
9b96c2507f9f17f639f73c2a9284f32bf63cd9d8 2024-08-27
1f407d0b2035e50812e6888a71b772530d17fc7a 2024-08-12
04858989138f4b09c2b9b9676e3641326d96b1a6 2024-08-02
0fd87c560867f19ab12276edf258e42c4688454a 2024-07-24
470aebc3ab2d4c225ca14ab8b1a12809f51b7eb3 2024-07-18
73a77968be31cbcba18b02918a8c11343a1fa038 2024-07-04
1578667fa246c374ca85c5eadbf49cc53a296775 2024-06-26
f832e165e187e49657229902c13ad30c4cf10d0b 2024-06-20
f066fc62fc37ee1d28b4f2973faaa2bc098fc952 2024-06-18
39bbe4e0d99d40d5c4feb97321fc68b20f02a7ae 2024-06-14
f2ead7db68e8af72dbd1ab099fbaa6bf0f0ec8c3 2024-06-12
897e224960bb8677edf3344bd51c9edd779e9da7 2024-06-05