यह पेज मशीन से अनुवादित है। अंग्रेज़ी मूल पढ़ें।

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_secondsinteger (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_minutesinteger (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_algorithmstring (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_enabledbooleantrueनहींSend the project's own anonymous usage telemetry. Turned off, the core reports nothing outward and every other behaviour is unchanged.

ऑपरेटर का आकार-निर्धारण

इन्फ़्रास्ट्रक्चर का आकार-निर्धारण, जिसे ऑपरेटर हर एनवायरनमेंट के लिए समायोजित करता है।

नामटाइपडिफ़ॉल्टआवश्यकविवरण
portinteger (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_versionstring12.1.1नहींCore container image tag.
log_levelstring (DEBUG | INFO | WARN | ERROR | NONE)INFOनहींLog verbosity of the core.
computeobject—नहीं—
overridesobject (open)—नहींProvider-specific overrides. Accepts any nested structure. Each Recipe documents which keys it reads.

आउटपुट अनुबंध

वे मान जिन्हें यह घटक uses टोपोलॉजी के ज़रिए उपभोक्ताओं को प्रकाशित करता है।

नामटाइपडिफ़ॉल्टआवश्यकविवरण
hoststring—हाँ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.
portinteger—हाँ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.
endpointstring—हाँ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.
protocolstring—नहीं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

वे स्लॉट जिन्हें इस सॉकेट से होकर जाने वाला हर कनेक्शन भर सकता है

स्लॉटसेलेक्टरआवश्यकइंजेक्टसंवेदनशीलविवरण
credentialfeature.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 उसे भर सकता है, और उसकी inject सूची बताती है कि Feature की सामग्री किन तरीकों से पहुँचाई जा सकती है। आवश्यक स्लॉट को हर इंस्टेंस पर बाइंड होना चाहिए, इंस्टेंस पर या उसके ऊपर के किसी दायरे में किसी अटैचमेंट द्वारा, और संवेदनशील स्लॉट सीक्रेट सामग्री सँभालने के लिए घोषित किया जाता है। कोई Feature ऐसे नाम के तहत भी अटैच हो सकता है जिसे कोई स्लॉट घोषित नहीं करता।

स्लॉटसेलेक्टरआवश्यकइंजेक्टसंवेदनशीलविवरण
api_keyfeature.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

संबंध

अन्य प्रकाशित एंटिटी की ओर जाने वाले और उनसे आने वाले टाइप किए गए एज। जिस रेफ़रेंस का कोई प्रकाशित लक्ष्य नहीं है, वह लिंक के बजाय टूटे हुए एज के रूप में दिखाया जाता है।

इनका उपयोग करता है

इनके द्वारा उपयोग किया जाता है

Component का अवधारणा संदर्भ

Aggrega कैटलॉग — घटकों, फ़ीचरों, रेसिपियों और उन्हें रेंडर करने वाले प्लगइनों का एक खुला इंडेक्स।

साझा Aggrega डिज़ाइन सिस्टम से बनाया गया।

गोपनीयता