Component
core/security/supertokens
An authentication core: the backend service that holds an application's users, their credentials and their sessions, and issues and verifies the tokens that carry a session between requests. It is reached only by an application's own backend, over HTTP, through one of the project's backend client libraries configured with this component's published endpoint. Wire here when sign-in belongs to the application: the application's backend owns the sign-in routes and the screens a user sees, and this component sits behind it as the place the user records live. Wire `core/security/keycloak` instead when sign-in belongs to the platform, as an identity provider applications reach over OpenID Connect and SAML. The core keeps no durable state of its own: it needs a PostgreSQL backend on its required `backend` socket, where it creates and migrates its own tables at startup, and with none wired the build halts. It answers administrative calls over the whole user store to anything that can reach it and issues no API key by default, so it is published on an in-cluster address only; attaching a key to the `api_key` slot requires one. Realized on Kubernetes via its Helm Recipe, which synthesizes the core as a stateless Deployment behind a ClusterIP Service on its HTTP port. Exports its host, port, endpoint and protocol to consumers, where the endpoint is the base URL an application's backend library is configured with.
Происхождение
- Дайджест содержимого
- sha256:d302889e84873ceaaac42afd223929bdbf7e84058eaa81235f41aeb50b3cc394
- Опубликовано
- 2026-11-10T10:13:55Z
- Идентичность подписи
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Подпись
- Официальныйapplication/vnd.dev.sigstore.bundle.v0.3+json
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
sha256:8df4006d1413070892da7da543abae6340c461d313674be6015c0ecae3dd1408
Ссылка на эту версию
oci://hub.aggrega.ai/component/core/security/supertokens:1.0.0Параметры разработчика
Значения, которые разработчик задаёт в сущности Aggregate.
| Имя | Тип | По умолчанию | Обязательный | Описание |
|---|---|---|---|---|
| access_token_validity_seconds | integer (min 1) | 3600 | нет | How long an access token stays valid, in seconds. A shorter window narrows how long a stolen token is useful and costs a refresh round trip more often. |
| refresh_token_validity_minutes | integer (min 1) | 144000 | нет | How long a refresh token stays valid, in minutes. This is the outer bound on a session — once it expires the user signs in again, whatever the access token says. |
| password_hashing_algorithm | string (BCRYPT | ARGON2) | BCRYPT | нет | Algorithm the core hashes stored passwords with. Changing it on an installation that already holds users rehashes each password the next time that user signs in, so both algorithms stay readable during the transition. |
| telemetry_enabled | boolean | true | нет | Send the project's own anonymous usage telemetry. Turned off, the core reports nothing outward and every other behaviour is unchanged. |
Размеры, задаваемые оператором
Размеры инфраструктуры, которые оператор настраивает для каждого окружения.
| Имя | Тип | По умолчанию | Обязательный | Описание |
|---|---|---|---|---|
| port | integer (min 1024, max 65535) | 3567 | нет | Port the core serves its HTTP API on; consumers connect here. Most operators should omit this and let the Recipe assign the default (3567). |
| engine_version | string | 12.1.1 | нет | Core container image tag. |
| log_level | string (DEBUG | INFO | WARN | ERROR | NONE) | INFO | нет | Log verbosity of the core. |
| compute | object | — | нет | — |
| overrides | object (open) | — | нет | Provider-specific overrides. Accepts any nested structure. Each Recipe documents which keys it reads. |
Контракт выходных значений
Значения, которые этот компонент публикует для потребителей через топологию uses.
| Имя | Тип | По умолчанию | Обязательный | Описание |
|---|---|---|---|---|
| host | string | — | да | In-cluster DNS name of the Service fronting the authentication core. Only an application's own backend reaches it, so this name is not an address to publish to browsers. |
| port | integer | — | да | TCP port that Service accepts backend requests on. It follows the port an operator set in the Release, so a consumer reads it rather than assuming a default. |
| endpoint | string | — | да | Full base URL of the core's HTTP API, with the host and the port already composed. It is the value one of the project's backend client libraries takes as its connection URI. |
| protocol | string | — | нет | URL scheme to reach `host` and `port` over, for a consumer composing its own address rather than reading `endpoint`. |
Сокеты uses
Сокеты зависимостей, через которые подключается этот компонент. Цель каждого соединения, проведённого через сокет, должна удовлетворять его селектору меток, и каждое соединение может нести подключение в слотах, которые объявляет сокет. Обязательный слот должен заполнить каждое соединение, которое сущность Aggregate или сущность Release проводит через сокет.
backend
- Селектор
- component.aggrega.ai/category=datastore
- Внедрение
- env
Слоты, которые может заполнить каждое соединение через этот сокет
| Слот | Селектор | Обязательный | Внедрение | Конфиденциальный | Описание |
|---|---|---|---|---|---|
| credential | feature.aggrega.ai/kind=secret | нет | env | да | Password the core authenticates to the relational backend this connection reaches with, delivered as an env secret reference so the value never appears in the rendered manifest. Unattached, helm/supertokens emits the development literal `apppass`, the default the standard-library relational Recipes leave in place, which is what makes a Release with nothing attached render and run; this catalog publishes it, so every Release that leaves the slot unattached shares that password. |
Слоты подключения
Именованные точки привязки, в которых Feature подключается к этому компоненту. Селектор слота ограничивает, какая сущность Feature может его заполнить, а его список внедрения указывает, как могут доставляться материалы сущности Feature. Обязательный слот должен быть привязан в каждом экземпляре — подключением в самом экземпляре или в области выше него, — а конфиденциальный слот объявляется для работы с секретными материалами. Feature также может подключаться под именем, которое не объявляет ни один слот.
| Слот | Селектор | Обязательный | Внедрение | Конфиденциальный | Описание |
|---|---|---|---|---|---|
| api_key | feature.aggrega.ai/kind=secret | нет | env | да | API key a caller must present to reach the core. The core issues none by default and accepts every caller that can reach its address, so attach one here wherever anything beyond the application's own backend can reach it. Unattached, no key is emitted and the core stays open to whatever the network lets through. |
Список разрешённых самовнедрений
env
Связи
Типизированные рёбра к другим опубликованным сущностям и от них. Ссылка без опубликованной цели отображается как разорванное ребро, а не как ссылка.
Использует
- используетиспользует сокет «backend»
component.aggrega.ai/category=datastore
Слоты подключения: credential
core/datastore/chroma v1.0.0 →core/datastore/cognee v1.0.0 →core/datastore/documentdb v1.0.0 →core/datastore/elasticsearch v1.0.0 →core/datastore/etcd v1.0.0 →core/datastore/ferretdb v1.0.0 →core/datastore/mariadb v1.0.0 →core/datastore/mariadb-operator v1.0.0 →core/datastore/memcached v1.0.0 →core/datastore/milvus v1.0.0 →core/datastore/mysql v1.0.0 →core/datastore/mysql-innodb-cluster v1.0.0 →core/datastore/mysql-operator v1.0.0 →core/datastore/opensearch v1.0.0 →core/datastore/pgvector v1.0.0 →core/datastore/postgres v1.0.0 →core/datastore/qdrant v1.0.0 →core/datastore/redis v1.0.0 →core/datastore/timescaledb v1.0.0 →core/datastore/valkey v1.0.0 →core/datastore/weaviate v1.0.0 →
Используется в
использует сокет «auth_core»
использует сокет «auth_core»
использует сокет «auth_core»
использует сокет «auth_core»
использует сокет «upstream»
использует сокет «forward_target»
использует сокет «scrape_target»
использует сокет «store»
использует сокет «jailbreak_detection»
применяется к
применяется к
применяется к
применяется к
применяется к
применяется к
применяется к
реализует