Skip to main content
Configuration reference | AEP ServiceCommand-line and environment configuration for the AEP Service preview process.AEP Servicereferenceaep-servicereferenceevaluatoradopterdeveloperoperatoroperate

Configure one preview authority

The serve command receives non-secret policy as arguments and reads secrets through named environment variables.

Required deployment values

ArgumentMeaning
--realmGlobally scoped realm served by this process
--workspaceOne workspace admitted by this process
--schemaPostgreSQL schema dedicated to the configured authority
--definitionsRoot of the immutable AEP definition tree
--definition-digestExpected lowercase SHA-256 for the validated tree

The database URL defaults to environment variable AEP_DATABASE_URL; change the variable name with --database-url-env. The development token defaults to AEP_DEV_BEARER_TOKEN; change it with --dev-token-env.

Hosted identity

ArgumentEnvironmentMeaning
--identity-originAEP_IDENTITY_ORIGINExact hosted Identity origin
--identity-audienceAEP_IDENTITY_AUDIENCERelying-party audience; defaults to urn:b10x:aep-service
--identity-tenantAEP_IDENTITY_TENANTExact tenant admitted to this authority

Origin and tenant are configured together. In hosted mode each bearer is resolved through Identity; the development token and its non-loopback override are not used.

Listener and development identity

ArgumentDefaultMeaning
--bind127.0.0.1:8080Listener address
--dev-authorityhuman:developerAuthority attributed to accepted development requests
--allow-insecure-dev-listeneroffExplicitly permit the development verifier on non-loopback

The override prints a warning and does not make the development token production-safe.

Resource bounds

ArgumentDefaultMeaning
--database-concurrency32Maximum simultaneous blocking database exchanges
--queue-timeout-ms2000Maximum wait for a database execution slot
--request-timeout-ms30000Maximum duration of one database-backed exchange
--shutdown-timeout-ms15000Maximum graceful drain after SIGINT or SIGTERM

Zero concurrency or zero timeout values are refused at startup.

Utility commands

aep-service definitions digest --path /definitions
aep-service openapi
aep-service probe --address 127.0.0.1:8080
aep-service probe --address 127.0.0.1:8080 --readiness

definitions digest validates before printing the identity. openapi writes exactly the bytes served at /openapi.json. probe bounds its own connection and response time; override the two-second default with --timeout-ms.