Runtime properties configure the connection to Topaz. Properties marked with a lock are fixed at build time: the
health check switch, the Dev Service settings, and the security read-body and permissions.enabled switches.
api-key, tls-configuration-name, plain-text and deadline can be set once under quarkus.topaz. and
overridden per service under quarkus.topaz.authorizer. or quarkus.topaz.directory.*.
Client, Dev Service and health
Configuration property fixed at build time - All other configuration properties are overridable at runtime
Configuration property |
Type |
Default |
|---|---|---|
Whether a readiness health check for Topaz is published when a SmallRye Health extension is present. Environment variable: |
boolean |
|
Whether Dev Services for Topaz is enabled. It is skipped anyway when Environment variable: |
boolean |
|
The Topaz container image. Defaults to the image this extension was tested with. Environment variable: |
string |
|
Whether the container is shared between applications in dev mode. A shared container is found through the Environment variable: |
boolean |
|
Value of the Environment variable: |
string |
|
Directory of Rego files mounted as a local bundle, as Environment variable: |
string |
|
OCI policy image pulled from Environment variable: |
string |
|
Location of a directory manifest YAML loaded after start, as Environment variable: |
string |
|
Location of a directory holding Environment variable: |
string |
|
When set, the container requires this API key (except for Environment variable: |
string |
|
Environment variables passed to the container. Environment variable: |
Map<String,String> |
|
Whether the Topaz console is exposed; its URL is set as Environment variable: |
boolean |
|
API key sent to both services unless overridden per service. Environment variable: |
string |
|
Name of the Quarkus TLS configuration used for both services unless overridden per service. Environment variable: |
string |
|
Whether to use plaintext (no TLS) connections, unless overridden per service. Environment variable: |
boolean |
|
Tenant id sent to Topaz. Environment variable: |
string |
|
Default deadline for calls, unless overridden per service. Environment variable: |
||
URL of the Topaz console; set by Dev Services, not read by the client. Environment variable: |
string |
|
Host of the service. Environment variable: |
string |
|
Port of the service; defaults to 8282 for the authorizer and 9292 for the directory. Environment variable: |
int |
|
API key for this service. Environment variable: |
string |
|
Name of the Quarkus TLS configuration for this service. Environment variable: |
string |
|
Whether to use a plaintext (no TLS) connection to this service. Environment variable: |
boolean |
|
Deadline for calls to this service. Environment variable: |
||
Host of the service. Environment variable: |
string |
|
Port of the service; defaults to 8282 for the authorizer and 9292 for the directory. Environment variable: |
int |
|
API key for this service. Environment variable: |
string |
|
Name of the Quarkus TLS configuration for this service. Environment variable: |
string |
|
Whether to use a plaintext (no TLS) connection to this service. Environment variable: |
boolean |
|
Deadline for calls to this service. Environment variable: |
|
About the Duration format
To write duration values, use the standard You can also use a simplified format, starting with a number:
In other cases, the simplified format is translated to the
|
Security
The quarkus.topaz.enforcement.* properties come from quarkus-topaz-security; see Security.
Configuration property fixed at build time - All other configuration properties are overridable at runtime
Configuration property |
Type |
Default |
|---|---|---|
Whether the request body is read and made available to the policy. Environment variable: |
boolean |
|
Whether permission-based checks are enabled. Environment variable: |
boolean |
|
The policy root (Rego package prefix) that decisions are evaluated under. Environment variable: |
string |
|
The name of the decision that must be true for a request to be allowed. Environment variable: |
string |
|
Further decisions to request from the authorizer alongside the main one. Environment variable: |
list of string |
|
What to do with requests that carry no identity. Environment variable: |
|
|
The deadline for a whole evaluation: the mappers (identity, policy path, resource context) and the Topaz call together, not each call separately. An evaluation that exceeds it is denied. Environment variable: |
|
|
About the Duration format
To write duration values, use the standard You can also use a simplified format, starting with a number:
In other cases, the simplified format is translated to the
|
Zanzibar connector
The quarkus.topaz.zanzibar.* property comes from quarkus-topaz-zanzibar; see
Zanzibar connector.
Configuration property fixed at build time - All other configuration properties are overridable at runtime
Configuration property |
Type |
Default |
|---|---|---|
Subject type used when quarkus-zanzibar hands over a relationship whose user type is blank. The filter does that only on the Environment variable: |
string |
|