Configuration Reference
Runtime properties configure the connection to Topaz. A lock marks the properties that Quarkus fixes at build time:
-
The health check switch.
-
The Dev Service settings.
-
The security
read-bodyandpermissions.enabledswitches.
Set api-key, tls-configuration-name, plain-text and deadline once under quarkus.topaz.. Override them 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. It 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. Use Environment variable: |
string |
|
OCI policy image pulled from Environment variable: |
string |
|
Location of a directory manifest YAML that Dev Services loads after the start. Use Environment variable: |
string |
|
Location of a directory that holds Environment variable: |
string |
|
The API key of the container. When set, the container requires this API key for every call except Environment variable: |
string |
|
Environment variables passed to the container. Environment variable: |
Map<String,String> |
|
Whether the Topaz console is exposed. Dev Services sets its URL 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. It 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. It 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 |
|---|---|---|
Get whether the request body is read and made available to the policy. Environment variable: |
boolean |
|
Get whether permission-based checks are enabled. Environment variable: |
boolean |
|
Get the policy root, which is the Rego package prefix that decisions are evaluated under. Environment variable: |
string |
|
Get the name of the decision that must be true for a request to be allowed. Environment variable: |
string |
|
Get the further decisions to request from the authorizer alongside the main one. Environment variable: |
list of string |
|
Get what to do with requests that carry no identity. Environment variable: |
|
|
Get the deadline for a whole evaluation. The deadline covers the mappers (identity, policy path and resource context) and the Topaz call together. It does not apply to 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 |
|---|---|---|
The subject type for a relationship whose user type is blank. quarkus-zanzibar hands over such a relationship on the Environment variable: |
string |
|