Lifecycle
- Create a tenant identity. The tenant exists before a product service is attached to it.
- Register a tenant service. The registration identifies the product service, its environment, isolation mode, and connection/provisioning information. Tenant Manager uses
dedicatedandsharedfor the storage modes described elsewhere asDATABASEandSCHEMA. - Provision supported backing resources. Tenant Manager invokes the adapters required by the registered service and mode.
- Initialize the product. Schema migrations and readiness work follow that product’s own provisioning contract.
- Operate the service. The product uses its own authentication and routing contract to serve the tenant.
A successful tenant-service registration is not a blanket guarantee that every product’s database, broker, and migration lifecycle is identical. Verify the product-specific provisioning requirements before onboarding production tenants.
Storage resources
Base URLs for machine-to-machine credentials
A tenant service can declare an optional
baseUrls map for the staging and production environments. Tenant Manager selects the URL for the tenant’s environment as targetBaseUrl when it creates, rotates, or recreates a machine-to-machine credential.
Each value must be an absolute HTTP or HTTPS URL with a host. It cannot include a path other than /, query string, fragment, or user credentials. HTTPS is required outside Kubernetes cluster-local services (*.svc.cluster.local) and local development (localhost or 127.0.0.1).
Updating baseUrls replaces the service’s map. It does not rewrite existing machine-to-machine credentials; rotate or recreate the credential when the endpoint must change.
Operator checks
Before registering a production tenant service:
- Confirm that the product and entitlement support multi-tenancy.
- Select
dedicatedorsharedaccording to the product’s supported storage configuration. - Validate the backing resources, credentials, network path, and product migration process.
- Register
baseUrlsonly for endpoint URLs that are valid for the tenant environment. - Test provisioning, authentication, and rollback using the product’s own operational guide.
Related pages
Multi-tenancy
How products scope requests and how PostgreSQL isolation modes differ.
Use cases
Choosing dedicated or shared PostgreSQL isolation for a service.

