Unreleased documentation. These pages follow the main branch and can change before the next release. For supported guidance, use v0.51.0.
A posture diagnostic reports a configuration setting that is safe only on a workstation or in a
test. Its code has the form <owner>.posture.<setting>, and it names the JSON pointer of the
setting. In production, check and startup report it as an error and the process refuses to
start. In development, the same code is a warning: --deny-warnings does not fail on it, and the
process lists it in its startup log and in the developmentSettings member of /ready.
To fix a production error, find the code below and apply its production remedy. On a laptop or in
a test run, declare development instead: start the project with rstack dev, or set
REGISTRY_STACK_POSTURE=development or pass --posture development. Most remedies change the
runtime file. Some change something the runtime reads, such as the package, the discovery index
or the identity provider’s discovery document, and the remedy says so.
This page covers the posture codes the Registry Stack products in this release declare. See Deployment posture for how a process chooses its posture.
Development-only settings
Section titled “Development-only settings”Production refuses each of these. The Setting column names the configuration member that holds the value; match it against the pointer in the diagnostic when a code appears twice. Where names the component that reports the code.
| Code | Setting | Condition | Production remedy | Where |
|---|---|---|---|---|
adapter.posture.payment-simulator | provider | Collections are sent to a synthetic simulator | Remove the simulator collection connection from the production configuration. | registry-adapter |
breg.posture.http-public-origin | publicOrigin | The registry publishes links with a plain HTTP origin | Set listener.publicOrigin to an HTTPS origin. | registry-breg |
breg.posture.local-key-custody | provider | The field-encryption data key is stored in a local file | Configure the transit provider for field encryption. | registry-breg |
breg.posture.placeholder-identity | canonicalBaseIri | The package uses a reserved placeholder registry identity | Replace canonicalBaseIri and rebuild the package. | registry-breg |
breg.posture.review-http-authorization-endpoint | issuer | The authorization endpoint discovered from signIn.issuer is plain http | Publish an https authorization_endpoint in the issuer's discovery document. | registry-breg-review |
breg.posture.review-http-public-origin | publicOrigin | The review page's public origin is plain http | Use an https public origin. | registry-breg-review |
breg.posture.review-http-public-origin | reviewBaseUrl | The review base URL is plain http | Use an https review base URL. | registry-breg-mcp |
casework.posture.unrestricted-clients | allowedClients | This issuer entry admits a token from every client the issuer signs for | List the OAuth clients whose access tokens this issuer entry admits. | registry-casework |
discovery.posture.loopback-catalog-url | catalogUrl | The index advertises an address on the reader's own machine | Publish HTTPS URLs on non-loopback hosts. | registry-discovery |
evidence.posture.credential-free-source | authentication | A credential-free source connection provides no client authentication | Bind an mtlsIdentity or configure an authenticated endpoint. | registry-evidence |
evidence.posture.local-assurance | assuranceProfile | Local assurance permits locally held signing keys | Build a production or evidence-grade package with a Transit signer. | registry-evidence, registry-evidencectl |
evidence.posture.supervised-validation | validationMode | Supervised validation permits a published loopback HTTP credential issuer | Use validationMode: strict and publish an HTTPS credential issuer. | registry-evidence-oid4vci |
evidence.posture.unrestricted-offer-gate | allowedClients | An unrestricted offer gate admits all values vouched for by the issuer | List the required clients and scopes explicitly. | registry-evidence-oid4vci |
platform.posture.database-private-plaintext | transport | The database connection is not encrypted and reaches a private network | Write database.transport: verified-tls, and give the database a certificate the runtime trusts. | registry-platform-config |
platform.posture.generated-audit-key | hashKeyCustody | The audit hash key was generated by a development tool | Provision an audit hash key, reference it in audit.hashKeyRef, and write audit.hashKeyCustody: operator-provisioned. | registry-platform-config |
platform.posture.insecure-issuer-http | allowInsecureHttp | Plain http is permitted to an issuer beyond loopback | Delete allowInsecureHttp and use an https issuer. | registry-platform-config |
platform.posture.mcp-http-published-issuer | issuer | The published resource server issuer is plain http | Use an https issuer. | registry-platform-config |
platform.posture.mcp-http-resource | resource | The protected resource identifier is plain http | Use an https resource identifier. | registry-mcp-edge |
platform.posture.session-development-loopback | tlsTermination | The session listener admits loopback HTTP in the browser and issuer endpoints | Use operator-controlled-upstream TLS termination and HTTPS endpoints. | registry-session |
platform.posture.test-issuer | type | The issuer's signing keys come from a test issuer | Write jwksSource: {type: discovery}, or a static or uri source for the real issuer. | registry-platform-config |
render.posture.local-assurance | assuranceProfile | Seals use a local key file and are marked as test seals | Configure assuranceProfile: production and sign through Transit. | registry-render |
render.posture.seals-not-served | signing | The bundle declares seals, but this runtime has no signing block and renders those document types unsealed | Configure signing.seals for the bundle's seals, or deploy a bundle whose documents do not declare seals. | registry-render |
render.posture.shared-api-key | apiKeyRef | Render accepts a shared bearer key for rendering | Replace authentication.apiKeyRef with authentication.oidc and configure callers to obtain Render access tokens. | registry-render |
breg.posture.review-http-authorization-endpoint is detected only at startup, after the review
page reads the issuer’s discovery document, so check cannot report it.
| Code | Setting | Condition | Production remedy | Where |
|---|---|---|---|---|
documents.posture.content-verification-disabled | contentVerification | Finalized document versions are approved without content verification | Configure an HTTP content verifier. | registry-documents |
Explicit production settings
Section titled “Explicit production settings”These codes report a setting that production accepts because you chose it explicitly. No action
is needed. Startup logs each one, and check --format json lists it under
explicitProductionSettings. See
Explicit production settings.
platform.posture.unrestricted-clients is one of these, and is different from
casework.posture.unrestricted-clients above, which production refuses.
| Code | Setting | Condition | Where |
|---|---|---|---|
adapter.posture.anonymous-https | anonymousHttps | A fixed HTTPS source is reached without an application credential | registry-adapter-core |
breg.posture.scopeless-without-subject-rule | accessProfiles | A profile admits declared-kind tokens with no scope and no row rule keyed on the subject | registry-breg |
platform.posture.client-actor-kinds | clientActorKinds | Tokens from the named clients are treated as the declared kinds | registry-platform-config |
platform.posture.compose-native-secret-mount | mountPolicy | The file secret provider accepts root-owned, mode 0444 Compose mounts | registry-platform-config |
platform.posture.destination-private-plaintext | transport | An outbound destination is reached without TLS, inside declared private ranges | registry-platform-config |
platform.posture.issuer-actor-kind | actorKind | Every token from this issuer is treated as the declared kind | registry-platform-config |
platform.posture.issuer-loopback-plaintext | issuer | An issuer endpoint uses plain HTTP on loopback | registry-platform-config |
platform.posture.jwt-access-token | accessTokenType | This setting admits access tokens typed JWT. ID tokens stay refused | registry-platform-config |
platform.posture.scope-claim | scopeClaim | The service reads scopes from a claim other than scope | registry-platform-config |
platform.posture.unrestricted-clients | allowedClients | This issuer entry admits a token from every client this issuer signs for | registry-platform-config |
Other posture refusals
Section titled “Other posture refusals”These codes are refusals about the posture itself rather than a development-only setting.
| Code | Meaning | Remedy |
|---|---|---|
platform.posture.invalid-value | The declared posture is empty, unknown or differently cased. It must be exactly production or development. | Declare a valid posture. See Production is the default. |
platform.posture.conflict | --posture (or a tool’s --production alias) and REGISTRY_STACK_POSTURE declare different postures, or --posture is given more than once. | Declare the posture once, or make both inputs agree. See Production is the default. |
evidence.posture.assurance-profile-conflict | A development process was given an Evidence package built for production assurance. | Build the package with assuranceProfile: local for development, or run the package in production. |
render.posture.assurance-profile-conflict | A development Render process is configured with assuranceProfile: production. | Write assuranceProfile: local and use a local key file, or start the deployment as production. See Render configuration. |
render.posture.test-signing | registry-render test-seal ran without declaring development. | Declare development for the test seal. See Use a test seal in development. |
Cookies on Registry Stack
We use optional cookies to understand how you use the main Registry Stack website and this documentation. If you contact us, we may link this activity to your enquiry. You can change your choice at any time. Read the privacy policy.
Your browser asks sites not to track you, so optional tracking stays off.
We could not use or save that choice. Optional tracking remains off.