Infrastructure
ActiveMQ Client Configuration
Plugin: nevisadmin-plugin-nevisdetect
Using the pattern, you can connect to an external ActiveMQ service using TLS/SSL.
Message Broker URL
Set the URL for the ActiveMQ message broker. Example:
ssl://my-message-broker:61616
Azure Service Bus
Plugin: nevisadmin-plugin-nevisidm
Configures a nevisIDM Instance to publish events into Azure Service Bus queues.
Queues can be reused, for example for handling time-based and other failures,
Dead Letter Queue and Expiry Queue pointed to the same Remote Queue with the same AzureServiceBusRemoteQueue pattern.
Remote Provisioning Queue
Remote Azure Service Bus Queue to which provisioning messages should be sent.
Remote Expiry Queue
Remote Azure Service Bus Queue to which Expiry messages should be sent.
Messages in Expiry Queue are those messages which validTo time has passed without successful receive action and without failing for other reason.
For further reference check NevisIdm Technical documentation > Configuration > Components > Provisioning module > Provisioning providers.
Remote Dead Letter Queue
Remote Azure Service Bus Queue to which Dead Letter messages should be sent.
Dead letter messages are those messages which are not in the expiryQueue and their delivery was unsuccessful.
For further reference check NevisIdm Technical documentation > Configuration > Components > Provisioning module > Provisioning providers.
Trust Store
Assign a trust store which provides the Microsoft Azure TLS Issuing CA 01 certificate.
You can access the Host name with your browser by adding https:// in front,
download the CA certificate, and then use a PEM Trust Store to provide it.
Azure Service Bus Remote Queue
Plugin: nevisadmin-plugin-nevisidm
Configures an Azure Service Bus connection-string for Azure Service Bus pattern to use.
Host Name
Enter the complete Host name of the Service Bus as shown in the Azure portal.
Example: my-service-bus-name.servicebus.windows.net
Shared Access Policy
Enter the Policy that shall be used to connect.
Also known as: SAS Policy, Shared access policy
Primary Key
Enter the Primary Key of the Policy as shown in the Azure portal.
Queue
Enter the name of a queue.
Generic Deployment
Plugin: nevisadmin-plugin-base
Use the advanced pattern for the following use cases:
- Deploy files and scripts for your own custom component or application.
- Modify remote system configuration files.
- Patch files generated by other nevisAdmin 4 patterns (not recommended).
The pattern cannot be used when deploying to Kubernetes.
Note that the third option is not recommended. Instead, please explore the various Generic patterns which can configure many low-level options. If you cannot find a solution, please open a Nevis Support ticket. Support may be able to provide an alternative, or can create a product improvement request.
Path
Absolute path of a directory on the target host(s) where the files will be deployed to. The command will run from the same path.
nevisAppliance targets only: if the files must be persisted across reboots, use a file name
or path listed in the /etc/rwdisk.conf file on the nevisAppliance target host.
The path must not point into a directory (potentially) managed by a nevisAdmin 4 Instance Pattern.
Thus, it is not possible to directly overwrite files generated by other patterns. See Command
and Command: Execution File Triggers for an alternative solution to overcome this limitation.
Allowed Paths:
/tmp/generic-deployment/var/opt/<directory>
Example:
/tmp/generic-deployment/patch01/
Path: Delete Unknown Files
If enabled, all files in the directory (Path property) that are not specified under Files are deleted.
If you enable this property your files must be in one of the following directories or subdirectories:
/var/opt/tmp/home
Files
Upload the files which will be copied into the Path.
To upload files into subdirectories within Path, add a single .zip file with files and directories. Unpacked files will have Owner and Group applied. Note: If multiple files are uploaded, any .zip file is deployed as is, without being extracted.
It is not supported to overwrite files generated by other patterns. See also Path above.
Template Parameters
Define Template Parameters.
Examples:
smtp: smtp.siven.ch
These parameters can be used in:
- uploaded files matching an expression specified in the
Template Filesproperty - the value of the
Pathproperty - the value of the
Commandproperty
The expression formats are:
${param.<name>}:
namefound: parameter value is used.namemissing: expression is not replaced.
${param.<name>:<default value>}:
namefound: parameter value is used.namemissing: default value will be used.
In <default value> the character } must be escaped as \}.
Template Files
Expressions matching files in which to replace parameters.
If a single .zip file is unpacked, it is scanned for matching files as well.
Possible values are exact file names or file endings.
Example:
- my_script.sh
- *.txt
- *.properties
Owner
Owner of the directory at specified path. All files and subdirectories will have the same owner.
Group
Owner of the directory at path. All files and subdirectories will have the same owner.
Permissions: Owner
Read-write permissions for specified owner of the directory. All files and subdirectories (including unpacked from single .zip) will have the same permissions.
The executable bit will be set automatically for readable directories and for readable Executable Files.
Permissions: Group
Read-write permissions for specified group of the directory. All files and subdirectories (including unpacked from single .zip) will have the same permissions.
The executable bit will be set automatically for readable directories and for readable Executable Files.
Permissions: Other
Read-write permissions for all users of the directory. All files and subdirectories (including unpacked from single .zip) will have the same permissions.
The executable bit will be set automatically for readable directories and for readable Executable Files.
Executable Files
Expression to select files which shall have the executable flag.
Add exact file names or *.<ending>.
Example:
- myScript.sh
- *.py
Command
Bash shell expression which will be executed from the working directory Path as the deployment user (__connection_user variable in the inventory).
Example:
- ./my_script.sh
The command will run depending on the Command: Execution setting: always or conditional (e.g. onFileChange).
Note that with the onFileChange setting, the command is not automatically executed if you change it here.
Tip: Instead of specifying your shell instruction(s) here, add them as a separate script file into Files. For example, if the file name is
my_script.sh, enter ./my_script.sh as the Command. This way, the script will be re-executed each time you upload an updated script file
and deploy the project (if onFileChange command execution is configured below).
Command: Execution Phase
Defines when the command is executed. The files are always copied during the CONFIGURE phase.
Phases:
- CONFIGURE: Command runs after files have been uploaded, but before NEVIS instances are (re)started. Use e.g. when patching a NEVIS instance configuration file.
- ACTIVATE: Command runs when instances are (re)started. Use when deploying files or commands that are independent of NEVIS instances.
Command: Execution
Defines when or how often the command is executed.
Possible values are:
always: Execution during each deployment.onFileChange: Executed if an uploaded file under the specifiedPathhas changed.onFileTriggers: Executed if a file that is listed underCommand: Execution File Triggershas changed.onFileChange + onFileTriggers: Combining both options above.
Command: Execution File Triggers
Files deployed by other nevisAdmin 4 patterns that, when changed, trigger the script to be executed, even if the script and files itself do not change.
Example:
- /var/opt/nevisproxy/my_proxy/conf/navajo.xml
Hint:
This is useful for patching e.g. navajo.xml after generation. Note that during the next deployment, it will be reverted (if the nevisProxy Instance pattern is deployed as well)
and then patching will happen again.
Generic nevisAdapt Instance Settings
Plugin: nevisadmin-plugin-nevisadapt
Use this add-on pattern to set low-level properties
in configuration files of a nevisAdapt Instance.
nevisAdapt Properties
Add properties for nevisadapt.properties.
See nevisAdapt Reference Guide for details.
Java Opts
Add additional entries to the JAVA_OPTS environment variable.
For instance, you may configure nevisAdapt to create a heap dump on out of memory as follows:
-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=/var/opt/nevisadapt/log/
Be aware that this example will not work for Kubernetes as the pod will be automatically restarted on out of memory and the created heap dump files will be lost.
Generic nevisAuth Instance Settings
Plugin: nevisadmin-plugin-nevisauth
Use this add-on pattern to set low-level properties
in configuration files of a nevisAuth Instance.
Java Opts
Add additional entries to the JAVA_OPTS environment variable.
Use the expression ${instance} for the instance name.
For instance, you may configure nevisAuth to create a heap dump on out of memory as follows:
-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=/var/opt/nevisauth/${instance}/log/
Be aware that this example will not work for Kubernetes as the pod will be automatically restarted on out of memory and the created heap dump files will be lost.
Environment Variables
Add additional environment variables to the nevisAuth env.conf.
The standard environment variables RTENV_SECURITY_CHECK and JAVA_OPTS
will always be present in env.conf and cannot be overwritten using this setting.
Generic nevisDetect Instance Settings
Plugin: nevisadmin-plugin-nevisdetect
Use this add-on pattern to set low-level properties
in configuration files of a nevisDetect Instance.
Java Opts
Add additional entries to the JAVA_OPTS environment variable.
Use the expression ${instance} for the instance name.
For instance, you may configure nevisDetect to create a heap dump on out of memory as follows:
-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=/var/opt/nevisdetect/${instance}/log/
Be aware that this example will not work for Kubernetes as the pod will be automatically restarted on out of memory and the created heap dump files will be lost.
Generic nevisFIDO FIDO2 Instance Settings
Plugin: nevisadmin-plugin-fido2
Use this add-on pattern to set low-level properties
in configuration files of a nevisFIDO FIDO2 Instance.
Java Opts
Add additional entries to the JAVA_OPTS environment variable.
Use the expression ${instance} for the instance name.
For instance, you may configure nevisFIDO to create a heap dump on out of memory as follows:
-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=/var/opt/nevisfido/${instance}/log/
Be aware that this example will not work for Kubernetes as the pod will be automatically restarted on out of memory and the created heap dump files will be lost.
Configuration: nevisfido.yml
This setting provides a low-level way to add or overwrite configuration in nevisfido.yml.
Enter the configuration as it would appear in the nevisfido.yml using correct indentation.
Example:
management:
server:
port: 9089
healthchecks:
enabled: true
Generic nevisFIDO UAF Instance Settings
Plugin: nevisadmin-plugin-nevisfido
Use this add-on pattern to customize configuration files of a nevisFIDO UAF Instance.
Java Opts
Add additional entries to the JAVA_OPTS environment variable.
Use the expression ${instance} for the instance name.
For instance, you may configure nevisFIDO to create a heap dump on out of memory as follows:
-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=/var/opt/nevisfido/${instance}/log/
Be aware that this example will not work for Kubernetes as the pod will be automatically restarted on out of memory and the created heap dump files will be lost.
Configuration: nevisfido.yml
This setting provides a low-level way to add or overwrite configuration in nevisfido.yml.
Enter the configuration as it would appear in the nevisfido.yml using correct indentation.
Example:
management:
server:
port: 9089
healthchecks:
enabled: true
Generic nevisIDM Instance Settings
Plugin: nevisadmin-plugin-nevisidm
Use the add-on pattern to set low-level properties
in configuration files of an nevisIDM Instance.
nevisIDM Properties
Add properties for nevisidm-prod.properties.
See nevisIDM Reference Guide (chapter Configuration files) for details.
Java Opts
Add additional entries to the JAVA_OPTS environment variable.
Use the expression ${instance} for the instance name.
For instance, you may configure nevisIDM to create a heap dump on out of memory as follows:
-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=/var/opt/nevisidm/${instance}/log/
Be aware that this example will not work for Kubernetes as the pod will be automatically restarted on out of memory and the created heap dump files will be lost.
Generic nevisLogrend Instance Settings
Plugin: nevisadmin-plugin-nevisauth
Use the add-on pattern to set low-level properties
in configuration files of a nevisLogrend Instance.
Java Opts
Add additional entries to the JAVA_OPTS environment variable.
Use the expression ${instance} for the instance name.
For instance, you may configure nevisLogrend to create a heap dump on out of memory as follows:
-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=/var/opt/nevislogrend/${instance}/log/
Be aware that this example will not work for Kubernetes as the pod will be automatically restarted on out of memory and the created heap dump files will be lost.
Generic nevisMeta Instance Settings
Plugin: nevisadmin-plugin-nevismeta
Use this add-on pattern to set low-level properties
in configuration files of a nevisMeta Instance.
Java Opts
Add additional entries to the JAVA_OPTS environment variable.
Use the expression ${instance} for the instance name.
For instance, you may configure nevisMeta to create a heap dump on out of memory as follows:
-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=/var/opt/nevismeta/${instance}/log/
Be aware that this example will not work for Kubernetes as the pod will be automatically restarted on out of memory and the created heap dump files will be lost.
Generic nevisProxy Instance Settings
Plugin: nevisadmin-plugin-nevisproxy
You can assign the pattern to a nevisProxy Instance using Additional Settings.
Use to customize the main configuration files of the nevisProxy instance, including:
navajo.xmlbc.propertiesenv.conf
To configure logging, use nevisProxy Log Settings instead.
Configuration: navajo.xml
Customize the Navajo servlet container configuration (navajo.xml)
using XML constructs described in the nevisProxy Technical Documentation.
The root element <Service> must be provided.
Examples:
Increase the number of parallel requests (worker threads):
<Service>
<Server MaxClients="1000"/>
</Service>
Increase the maximum allowed request body size:
<Service>
<Server LimitRequestBody="10485760"/>
</Service>
To change the Server Timeout attribute (how long nevisProxy itself will wait before failing a request, default 30 seconds), use Request Timeout on the TCP Settings pattern assigned to a Virtual Host instead - see Request Timeout's help text for details.
When patching a certain Host, you have to provide the name.
Let's say you use the variable domain for Frontend Addresses in your Virtual Host.
You then have to use the expression ${var.domain} to patch the corresponding Host element.
Allow additional status codes by patching the Context element:
<Service>
<Engine>
<Host name="${var.domain}">
<Context additionalStatusCodes="207,210,242,422,423,424,449,456,540,541,543,544,545,456,549,552,560" />
</Host>
</Engine>
</Service>
Overrule the allowed HTTP methods:
<Service>
<Engine>
<Host name="${var.domain}">
<Context allowedMethods="ALL-HTTP" />
</Host>
</Engine>
</Service>
Overrule the server aliases for some.domain.com:
<Service>
<Connector name="some.domain.com" port="*" serverAlias="*.domain.com">
</Connector>
</Service>
It is possible to use the following placeholders:
${instance.id}: unique ID of thenevisProxy Instancepattern${instance.name}: name of the nevisProxy instance. For instance, use/var/opt/nevisproxy/${instance.name}to refer to the instance directory.
Limitations:
- customizing
Navajoelements is not supported - customizing
Host(or its child elements) requiresname
Configuration: bc.properties
Customize the low-level configuration (bc.properties)
using properties described in the nevisProxy Technical Documentation.
For instance, when request validation is enabled this requires a buffer and this buffer has to be big enough to store the entire request.
The following example increases the maximum size of the request buffer to 10 MB:
ch.nevis.navajo.request.BufferSize=10485760
You also may have to increase the maximum allowed request size.
See Configuration: navajo.xml for an example.
Note that increased buffer sizes may lead to increased demand of RAM and disk space.
When the required buffer exceeds ch.nevis.navajo.request.MemBufferSize
then nevisProxy will buffer to disk instead.
The demand caused by request buffers can be estimated as follows:
- RAM:
MaxClients*ch.nevis.navajo.request.MemBufferSize - disk:
MaxClients*ch.nevis.navajo.request.BufferSize
See Configuration: navajo.xml for a description of MaxClients.
Environment Variables
Add additional environment variables to the nevisProxy env.conf.
Each variable is written as KEY=VALUE followed by an export KEY line so it
becomes part of the nevisProxy process environment.
Keys defined by other patterns (for example PKCS11_PIN, SECUROSYS_PKCS11_CONF,
SECUROSYS_SECRETS_CONF and OPENSSL_CONF from the Securosys Key Store
pattern) must not be set here.
Template Parameters
Define Template Parameters.
Examples:
backend-host: backend.siven.ch
These parameters can be used in:
Configuration: navajo.xmlConfiguration: bc.properties
The expression formats are:
${param.<name>}:
namefound: parameter value is used.namemissing: expression is not replaced.
${param.<name>:<default value>}:
namefound: parameter value is used.namemissing: default value will be used.
In <default value> the character } must be escaped as \}.
nevisAdapt Database
Plugin: nevisadmin-plugin-nevisadapt
Configures nevisAdapt to use a MariaDB database.
Assign to nevisAdapt Instance as Database.
When deploying to Kubernetes, the database and connection user will be created automatically. The database schema will be migrated automatically when upgrading Nevis on the next deployment.
In classic VM deployments a database including tables must be set up before deployment.
Setup instructions can be found in the nevisAdapt technical documentation. See Database setup for details.
If you want to use an Oracle database you have to set Custom Connection URL,
instead of using the high-level settings, and upload the JDBC Driver.
Database Type
Choose between MariaDB, Oracle and PostgreSQL.
We recommend using MariaDB as it is supported by all Nevis components that have a database.
Note: Support for PostgreSQL is experimental.
Database Host
Enter the host name of the database service.
The database service must be up when you deploy.
In a classic deployment the Database User and Database Password is used to connect.
In Kubernetes deployment a connection user and password will be generated
and the Root Credential will be used to set up the database schema.
Database Name
Here you can change the name of the database.
The database name only needs to be changed when the database service contains multiple databases.
In Nevis ID, leaving this setting empty uses the component-specific default
database name with the inventory namespace suffix. The defaults are
nevisfidouaf_<namespace> for UAF, nevisfido2_<namespace> for FIDO2, and
nevisproxy_<namespace> for nevisProxy. Existing database contents are not
migrated when a default changes. To keep using an existing database, explicitly
configure nevisfido_<namespace> for UAF or FIDO2, or
replicated_session_store_<namespace> for nevisProxy. Namespace suffixes are
case-insensitive.
Root Credential
Enter the name of a Kubernetes Secret containing the credentials for the database management job.
This setting is required in Kubernetes deployments when Advanced Settings > Database Management is
set to complete or schema.
It is not required when Database Management is set to disabled.
With complete, the Secret must contain the database management user:
username: <root-user>
password: <root-password>
With schema, the database management user can be omitted. The database and users must already
exist, and the Secret must contain the schema-owner and application users:
ownerUsername: <some-username>
ownerPassword: <some-password>
appUsername: <some-username>
appPassword: <some-password>
With complete, the application and schema-owner users are created with the credentials specified in
the Secret.
Because schemas are used, create a separate Kubernetes Secret for each database pattern with the application and schema-owner credentials when using Oracle or PostgreSQL. Store passwords in Secrets or an external secret provider, not directly in pattern values.
Root Credential Namespace
Set if the Root Credential is in a different Kubernetes namespace.
Database User
Provide the DB user name here.
Database Password
Provide the DB password here.
TLS Encryption
Configure how TLS is used when connecting to the database:
disabled– Connect without TLS (no encryption).trust– Use TLS, but skip certificate and hostname validation.verify-ca– Use TLS with certificate validation, but without hostname verification.verify-full– Use TLS with full validation: encryption, certificate verification, and hostname verification.
When certificate validation is enabled and the server certificate is not trusted by the component, you must configure
the Trust Store setting.
As the default trust varies by component (some use the Java default trust store, others also include OS-level trust stores),
configuring Trust Store is recommended whenever you use private CAs or self-signed certificates.
Trust Store
Assign a trust store which provides the CA certificate of the DB endpoint.
JDBC Driver
Due to licensing, nevisAdapt cannot ship the JDBC driver to connect to Oracle databases, Therefore, those who want to use an Oracle database need to obtain and provide the Oracle JDBC driver on their own.
The .jar files can be downloaded from Oracle
Uploading any other .jar files containing JDBC drivers is possible as well.
Volume Claim
Due to licensing restrictions, we cannot ship any Oracle dependencies.
If you are using an Oracle database, are deploying to Kubernetes, and Database Management is enabled (complete or schema),
then you have to provide a Kubernetes volume containing an Oracle driver and client.
For more information, see Preparing Oracle Volume.
Enter the name of that volume here.
The volume will be mounted in the nevisadapt-dbschema image to set up and patch the database schema.
The volume will be mounted in the nevisadapt image to connect to the database.
Because of that, there is no need to upload a JDBC Driver.
Data Tablespace
Name of the data tablespace for the oracle database used for the Kubernetes migration. It's recommended to keep the default value unless the pattern is used with an existing database that has a different one.
Application Role
Name of the application role for the oracle database used for the Kubernetes migration. It's recommended to keep the default value unless the pattern is used with an existing database that has a different one.
Owner Role
Name of the owner role for the oracle database used for the Kubernetes migration. It's recommended to keep the default value unless the pattern is used with an existing database that has a different one.
Min Pool Size
Set the minimum connection pool size.
The connection pool will always attempt to maintain at least the minimum pool size.
However, the number of open connections may temporarily fall below the minimum in the following cases:
- During pool initialization.
- When connections are terminated due to idle timeout, maximum lifetime, network issues, or database server configuration.
Max Pool Size
Set the maximum number of available and borrowed (in use) connections that a pool maintains.
If the maximum number of connections is borrowed, no connections will be available until a connection is returned to the pool.
This setting allows the number of connections in the pool to increase as demand increases.
Max Idle Time
Sets the maximum amount of time that unused excess connections stay in the pool before it is considered stale and is removed (closed) to free up resources.
Max Lifetime
This setting controls the maximum lifetime of a connection in the pool.
After the specified lifetime, database connections are removed from the pool, closed, and reopened.
Database Management
The pattern controls whether the database and its schema are managed during installation and upgrades. For a complete installation and lifecycle guide, see Database management approaches.
The complete option performs the initial database preparation, such as creating the database or
Oracle tablespaces, creates the required database users, and runs schema migrations.
The schema option skips the initial preparation and runs schema migrations only. The database,
schema-owner user, and application user must already exist. Provide the schema-owner and application
user credentials in the root credential Secret. The root user information can be omitted with this
option. This is often a good balance when a DBA or customer provisioning service owns database
creation and role management, but automatic schema migrations are still desired. Select disabled
when migrations require explicit DBA approval and execution.
Select disabled to opt out of database management. In this case, create and migrate the database
schema yourself. Run the component dbschema image as a separate Kubernetes Job before the initial
deployment and before upgrades that change the schema. The migration job must be configured with
NEVIS_DBSCHEMA_BOOTSTRAP=false when role management is performed externally.
This feature is set to recommended by default. In Kubernetes deployments, recommended uses
complete. In classic VM deployments, it uses schema if the pattern supports Schema User and
Schema Password; otherwise, it uses disabled.
Flyway License Key
Please provide a licence key in case you would use the Flyway Teams Edition.
This is recommended only in case you would use an old database version (more than 5 years old). If you do not provide a licence key, the Flyway Community Edition will be used by default.
For more information about Flyway editions please visit this page Flyway.
Hikari Configuration Values
Enter custom values for Hikari datasource configuration.
Supported keys are described at HikariCP - GitHub.
The prefix spring.datasource.hikari. must not be included as it will be added automatically to each key.
The following keys should not be configured here as there are settings in the Connection Pool tab:
minimumIdlemaximumPoolSizeidleTimeoutmaxLifetime
If you still configure these keys, they will overrule the high-level settings.
Connection Parameters
Enter parameters for the DB connection string.
Enter 1 parameter per line.
Lines will be joined with &.
The default is:
useMysqlMetadata=true
The default value will be used only when no parameters are entered.
If you want to keep the default parameters, add them as well.
Connection URL
Set only if you have to use a JDBC connection string which the pattern cannot generate.
If the prefix of the connection string works for you
and you only have to add or overwrite query parameters, set Connection Parameters instead.
If you have to use this setting, please consult your setup with your integration partner.
In Kubernetes deployments the connection string configured here is used by the component only. It is not used to set up and migrate the database schema.
Thus, this setting should only be used in classic deployments,
or when Database Management is disabled.
Instead of using 'jdbc:mysql' either
- Use the high-level configuration for the Database Host instead of providing a custom URL
- Add the query parameter permitMysqlScheme to the custom URL
nevisAdapt Instance
Plugin: nevisadmin-plugin-nevisadapt
This pattern sets up a nevisAdapt instance.
For details check the nevisAdapt Documentation.
nevisAdapt implements adaptive, context-aware, and continuous authentication based on multiple attributes, like device information or geolocation. Together, these multiple attributes create a unique, digital user footprint.
In case of multi-host deployment, up to one nevisAdapt is supported per isolating line.
Port
Enter the port on which nevisAdapt will listen.
Database
Add a database connection reference pattern.
Required properties to be set in the connector pattern are as follows:
- JDBC Driver (Oracle or MariaDB)
- JDBC URL
- DB user/password
Log Settings
Assign nevisAdapt Log Settings to change the log configuration.
Frontend Key Store
This setting specifies the key store used for the HTTPS endpoint.
The certificate in the key store must be valid for all frontend addresses.
In Kubernetes deployments, the certificate subject must contain a CN entry with the service name.
If no pattern is assigned, automatic key management will provide a key store.
Frontend Trust Store
Reference a trust store provider pattern or leave empty to manage the trust store with nevisAdmin.
Client Authentication
Setting for mutual TLS (mTLS) on the HTTPS endpoint.
Choose between:
required: Clients must present a valid client certificate. Connections without a certificate, or with an invalid certificate, will be rejected.requested: Clients may present a client certificate. If a certificate is provided, it must be valid. If no certificate is provided, the connection will still be accepted.disabled: Clients must not present a client certificate. The server will not request a certificate. Presenting one may cause the connection to fail.
The
Frontend Trust Storeis only used whenrequestedorrequiredis selected. It must contain the issuing CA certificate(s) for client certificates.
TLS Protocol(s)
The TLS protocol versions supported for inbound connections to this endpoint.
SecToken Signer Trust Store
Assign the Trust Store provider for verifying the NEVIS SecToken. If no pattern is assigned the signer key will be provided by the nevisAdmin 4 PKI.
File Selection
Set a file code only if the provider is IP2LOCATION or MaxMind and also set the access token in that case.
Provide a file code that identifies the database file to be downloaded.
The supported values are:
upload- no update mechanism will be in place for custom uploads by default. Must be .csv/.CSV, up to 20MB.DB1BIN- commercial version, IP-CountryDB1BINLITE- free version, IP-CountryDB5BIN- commercial version, IP-Country-City-GPSDB5BINLITE- free version, IP-Country-City-GPSGeo2-City- MaxMind GeoIP2 City DatabaseGeoLite2-City- free version of the MaxMind GeoIP2 City Database
nevisAdapt does not provide any access tokens by default. They have to be generated after registration (in case of the commercial version, purchase).
You can find more information about the supported geolocation databases at the IP2LOCATION and MaxMind websites.
Mapping File Upload
Provide a file attachment for the IP-to-Location service to use.
Please consider uploading the file manually if its size exceeds 20MB, then adjust the path
ipToLocationMappingFile in nevisadapt.properties after deployment if needed.
With file upload, only the IP-Country database is supported, with fields listed as follows (CC is the 2-letter country code, no header row):
"IP range min (decimal)","IP range max (decimal)","CC","COUNTRY"
The file must adhere to the following formatting rules: all fields must be separated by commas and surrounded by double-quotes. The IP ranges should not intersect each other. File name must end with either .csv or .CSV.
If IP velocity analysis is required, it is handled through IP2LOCATION updates. No other provider is supported at this point. Please switch to either DB5BIN or DB5LITEBIN.
The IP-mapping file has to be updated regularly for the service to stay relevant.
Uploaded files are not updated by default.
We recommend setting up periodic update of IP geolocation and reputation mappings.
File Selection IPv6
Choose the IPv6 IP-to-location database source.
This setting is optional. If you set either IPv6 setting, you must also set this selector.
Supported values:
upload- use a custom CSV upload for IPv6 mapping.DB1BIN- commercial IPv6 database, IP-Country.DB1LITEBIN- free IPv6 database, IP-Country.DB5BIN- commercial IPv6 database, IP-Country-City-GPS.DB5LITEBIN- free IPv6 database, IP-Country-City-GPS.
IPv4 and IPv6 must use the same source type (upload or downloaded database), because schedule and token settings are shared.
Mapping File Upload IPv6
Provide an IPv6 mapping file upload.
Use this only when File Selection IPv6 is set to upload.
The file must:
- be a CSV file (
.csvor.CSV), - contain non-overlapping IPv6 ranges,
- follow the same CSV format requirements as the IPv4 upload.
If IPv6 upload is enabled, an IPv6 file must be provided for deployment.
Update Schedule
Pick the update frequency of the IP-to-location database.
Valid values:
disabled- no update mechanism will be triggered. Not recommended for productive environment.hourlydailyweeklymonthly
When selecting disabled, it's highly recommended having a mechanism in place for keeping the database file up-to-date.
We recommend setting up periodic update of IP geolocation and reputation mappings.
Download Token
Provide a secret download token for authentication.
Shared Storage Settings
Configure this to override the default configurations used for the shared storage in Kubernetes deployments. If you would use an existing shared volume please only set the claim name. This storage should support the ReadWriteMany access mode.
For more information regarding persistent volumes in Kubernetes please visit this page
IP Private Network Filter
nevisAdapt filters private addresses out by default because they do not provide any reputation related information. If you want to allow internal IP addresses for risk scoring, you can disable this feature.
The generated property will look like this:
nevisadapt.ipReputation.service.privateNetworkFilter=false
IP Private Network Country Code
When selected 'disabled' on IP Private Network Filter, the country code of the IP address will be assigned to this, regardless of the original input value. You can assign a Geolocation by country code using ISO 3166 alpha-2.
The generated property will look like this:
nevisadapt.ipReputation.service.privateNetworkCountryCode=<2-letter country code>
The default value is CH.
Apache Hostname Verifier
Enabling this option will set an Apache hostname verifier (which also handles certificate checks) instead of the default one.
Default: disabled (backwards compatibility)
Stage URL
Used by Nevis ID to reach the common geolocation mapping download location.
Mapping File Upload
Provide a file attachment for the IP reputation service to use.
Please consider uploading the file manually if its size exceeds 20MB, then adjust the path ipReputationMappingFile
in nevisadapt.properties after deployment if needed.
Every line should contain a single blacklisted IPv4 range in CIDR format:
A.B.C.D/E or A.B.C.D (A/B/C/D: [0-255]; E: [0-32])
The IP ranges should not intersect each other.
The IP-mapping file has to be updated regularly for the service to stay relevant. We recommend setting up periodic update of IP geolocation and reputation mappings.
Update Schedule
Pick the update frequency of the IP reputation database.
Valid values:
disabled- no update mechanism will be triggered. Not recommended for productive environment.hourlydailyweeklymonthly
When selecting 'disabled', it's highly recommended having a custom mechanism in place for keeping the database file up-to-date. We recommend setting up periodic update of IP geolocation and reputation mappings.
Update URL
Provide a download URL for the database file. The file is downloaded then moved over to the path defined above.
Apache Hostname Verifier
Enabling this option will set an Apache hostname verifier (which also handles certificate checks) instead of the default one.
Default: disabled (backwards compatibility)
Startup Probe Delay
Delay for before Kubernetes will call the startup probe.
Set a higher value if deployment fails due to slow startup of the pods.
Memory Limit
This setting defines the maximum amount of RAM than can be used by this instance.
VM Deployment
By default, the Java process will use 1/4 of the available RAM.
Depending on how many instances are deployed to the same target host this may be either too much or too little.
The value configured here will be used for
the maximum heap size of the Java process (-Xmx).
Kubernetes Deployment
In Kubernetes deployment the value configured here will be ignored and the Java process will be configured to use a percentage of the available RAM.
Note that -Xmx is not set to avoid file changes when adapting the limit.
As the docker container runs only 1 process the JVM flags
-XX:+UseContainerSupport and -XX:MaxRAMPercentage=80.0 will be applied
so that Java process can use up to 80% of the configured limit.
Initial Memory Ratio
Use the given percentage of Memory Limit for the initial memory usage (-Xms).
This setting applies to classic VM deployments only.
Start Inactive
In a classic VM deployment the instance is restarted when a configuration file changes that requires a restart. The instance is not restarted when a configuration file changes that does not require a restart.
This setting defines if the instance should also be started when it is down.
This setting applies to classic VM deployment only. In Kubernetes deployment the container pods are always recreated when any configuration file changes.
Check Minimum Version
Select enabled to perform basic version checks.
In classic VM deployment we run a command on each target host, to check which version of the component is installed.
In Kubernetes deployment we check the version of the docker image instead.
This check can be disabled for testing purposes.
Open Telemetry
OpenTelemetry is used for several use cases:
- cross-component tracing in logs
- exposing metrics
By default, OpenTelemetry is enabled and a Java agent is loaded.
If that Java agent is not present on the machines you are deploying to,
then you have to provide it at /opt/agent/opentelemetry-javaagent.jar or select disabled.
nevisAdapt Observation Configuration
Used to assign a nevisAdapt Observation Cleanup Configuration pattern to configure
the time interval for cleaning up observation data.
This is an optional setting. Default values if nothing is set:
- Observation Timeframe:
60d - Trusted Cleanup Period:
1d - Untrusted Cleanup Timeframe:
12d
Suspicious Country Code List
Provide a list of two-letter ISO country codes of considerable risk.
Input method 1: Single line - comma-delimited
Input method 2: One country code entry per line
ISO code description can be found at: https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
Proxy Host
Enter the host for the forward proxy if available.
Proxy Port
Enter the port of the forward proxy if available.
3182
Distrust Feedback Settings
Provide additional settings for defining the details of the distrust session mechanism:
- JWE key to generate new tokens with
- nevisAuth reference to distrust and terminate sessions there as well
- nevisProxy reference to build the distrust feedback URI
- action to take on received token
- token lifetime
- redirect URL after sending the token
Bind Host
Enter a custom host name to listen on.
This setting is relevant in classic VM deployment, when working with multi-homed target hosts.
In Kubernetes the component listens on 0.0.0.0
and thus this setting is discouraged.
Device Cookie Name
Provide a name for the cookie that will be used as the volatile identification for a browser.
Leave this configuration empty if you want to keep the default value of DEVICE_COOKIE.
Additional Settings
Assign an add-on pattern to customize the configuration.
nevisAdapt Analyzer Configuration
Allows you to customize nevisAdapt Analyzer configuration.
nevisAdapt Shared Storage Settings
Plugin: nevisadmin-plugin-nevisadapt
Pattern to override the default shared storage settings used by nevisAdapt in Kubernetes deployments.
Claim Name
The name of the PersistentVolumeClaim.
For more information regarding persistent volumes in Kubernetes please visit this page
Storage Size
The size of the persistent volume. The minimum size is 1 gigabyte. We recommend using at least 4 gigabytes.
For example: 4GB
Storage Class
The name of the StorageClass. The selected storage should support ReadWriteMany access.
For example: azurefile
For more information regarding persistent volume types in Kubernetes please visit this page
Mount Path
The path where the volume will be mounted and used by the service.
For example: /var/opt/shared
For more information regarding persistent volumes in Kubernetes please visit this page
nevisAuth Database
Plugin: nevisadmin-plugin-nevisauth
Configures nevisAuth to use a MariaDB database for storing sessions and out-of-context data.
Assign to a nevisAuth Instance as Database.
When deploying to Kubernetes, the database and connection user will be created automatically. The database schema will be migrated automatically when upgrading Nevis on the next deployment.
In classic VM deployments a database including tables for sessions and out-of-context data must be set up manually before deployment. Setup instructions can be found in the nevisAuth technical documentation.
The log category for the session store is RemoteSessionStore.
Database Type
Choose between MariaDB and PostgreSQL.
We recommend using MariaDB as it is supported by all Nevis components that have a database.
Note: Support for PostgreSQL is experimental.
Database Host
Enter the host name of the database service.
The database service must be up when you deploy.
In a classic deployment the Database User and Database Password is used to connect.
In Kubernetes deployment a connection user and password will be generated
and the Root Credential will be used to set up the database schema.
Database Name
Here you can change the name of the database.
The database name only needs to be changed when the database service contains multiple databases.
In Nevis ID, leaving this setting empty uses the component-specific default
database name with the inventory namespace suffix. The defaults are
nevisfidouaf_<namespace> for UAF, nevisfido2_<namespace> for FIDO2, and
nevisproxy_<namespace> for nevisProxy. Existing database contents are not
migrated when a default changes. To keep using an existing database, explicitly
configure nevisfido_<namespace> for UAF or FIDO2, or
replicated_session_store_<namespace> for nevisProxy. Namespace suffixes are
case-insensitive.
Schema User
The user which will be used to connect to the database and create the schema (tables).
The database must have been created already (CREATE DATABASE)
and the user must have CREATE privileges for this database.
If not set, the database connection user will be used.
Example: schema-user
Schema User Password
The password of the user on behalf of the schema will be created in the database.
Root Credential
Enter the name of a Kubernetes Secret containing the credentials for the database management job.
This setting is required in Kubernetes deployments when Advanced Settings > Database Management is
set to complete or schema.
It is not required when Database Management is set to disabled.
With complete, the Secret must contain the database management user:
username: <root-user>
password: <root-password>
With schema, the database management user can be omitted. The database and users must already
exist, and the Secret must contain the schema-owner and application users:
ownerUsername: <some-username>
ownerPassword: <some-password>
appUsername: <some-username>
appPassword: <some-password>
With complete, the application and schema-owner users are created with the credentials specified in
the Secret.
Because schemas are used, create a separate Kubernetes Secret for each database pattern with the application and schema-owner credentials when using Oracle or PostgreSQL. Store passwords in Secrets or an external secret provider, not directly in pattern values.
Root Credential Namespace
Set if the Root Credential is in a different Kubernetes namespace.
Database User
Database connection user.
This setting is used in the following cases:
- Classic deployments (VM)
- In Kubernetes when 'Database Management' (Advanced Settings) is set to 'disabled'.
Database Password
Password for the database connection user.
This setting is used in the following cases:
- Classic deployments (VM)
- In Kubernetes when 'Database Management' (Advanced Settings) is set to 'disabled'.
Password Type
Choose between:
automatic: behaves likecommandwhen the password starts with/opt/.command: use when the input is a command. Inesauth4.xmlthe prefixpipe://will be added.plain: take the password as-is.
TLS Encryption
Configure how TLS is used when connecting to the database:
disabled– Connect without TLS (no encryption).trust– Use TLS, but skip certificate and hostname validation.verify-ca– Use TLS with certificate validation, but without hostname verification.verify-full– Use TLS with full validation: encryption, certificate verification, and hostname verification.
When certificate validation is enabled and the server certificate is not trusted by the component, you must configure
the Trust Store setting.
As the default trust varies by component (some use the Java default trust store, others also include OS-level trust stores),
configuring Trust Store is recommended whenever you use private CAs or self-signed certificates.
Trust Store
Assign a trust store which provides the CA certificate of the DB endpoint.
Key Store
Define the key store to use for 2-way HTTPs connections for DB endpoint.
This configuration only accept PEM Key Store pattern configuration.
Noted: This is an experimental configuration
Min Pool Size (Session Store)
Set the minimum connection pool size.
The connection pool will always attempt to maintain at least the minimum pool size.
However, the number of open connections may temporarily fall below the minimum in the following cases:
- During pool initialization.
- When connections are terminated due to idle timeout, maximum lifetime, network issues, or database server configuration.
Min Pool Size (Out-of-Context Data Store)
Set the minimum connection pool size.
The connection pool will always attempt to maintain at least the minimum pool size.
However, the number of open connections may temporarily fall below the minimum in the following cases:
- During pool initialization.
- When connections are terminated due to idle timeout, maximum lifetime, network issues, or database server configuration.
Max Pool Size (Session Store)
Set the maximum number of available and borrowed (in use) connections that a pool maintains.
If the maximum number of connections is borrowed, no connections will be available until a connection is returned to the pool.
This setting allows the number of connections in the pool to increase as demand increases.
Max Pool Size (Out-of-Context Data Store)
Set the maximum number of available and borrowed (in use) connections that a pool maintains.
If the maximum number of connections is borrowed, no connections will be available until a connection is returned to the pool.
This setting allows the number of connections in the pool to increase as demand increases.
Max Idle Time (Session Store)
Sets the maximum amount of time that unused excess connections stay in the pool before it is considered stale and is removed (closed) to free up resources.
Max Idle Time (Out-of-Context Data Store)
Sets the maximum amount of time that unused excess connections stay in the pool before it is considered stale and is removed (closed) to free up resources.
Max Lifetime (Session Store)
This setting controls the maximum lifetime of a connection in the pool.
After the specified lifetime, database connections are removed from the pool, closed, and reopened.
Max Lifetime (Out-of-Context Data Store)
This setting controls the maximum lifetime of a connection in the pool.
After the specified lifetime, database connections are removed from the pool, closed, and reopened.
Database Management
The pattern controls whether the database and its schema are managed during installation and upgrades. For a complete installation and lifecycle guide, see Database management approaches.
The complete option performs the initial database preparation, such as creating the database or
Oracle tablespaces, creates the required database users, and runs schema migrations.
The schema option skips the initial preparation and runs schema migrations only. The database,
schema-owner user, and application user must already exist. Provide the schema-owner and application
user credentials in the root credential Secret. The root user information can be omitted with this
option. This is often a good balance when a DBA or customer provisioning service owns database
creation and role management, but automatic schema migrations are still desired. Select disabled
when migrations require explicit DBA approval and execution.
Select disabled to opt out of database management. In this case, create and migrate the database
schema yourself. Run the component dbschema image as a separate Kubernetes Job before the initial
deployment and before upgrades that change the schema. The migration job must be configured with
NEVIS_DBSCHEMA_BOOTSTRAP=false when role management is performed externally.
This feature is set to recommended by default. In Kubernetes deployments, recommended uses
complete. In classic VM deployments, it uses schema if the pattern supports Schema User and
Schema Password; otherwise, it uses disabled.
Synchronize Sessions
Defines when sessions are stored to the remote session store.
after-successful-authentication
A session is stored to the remote session store once authentication has been completed successfully.
Use this mode when performance is critical, when the authentication flow is stateless (e.g. no GUI is shown), when there is only 1 nevisAuth instance, or in classic VM-based deployment scenarios.
always
Session are always stored to the remote session store.
This mode requires nevisAuth version 4.28.0.216 or newer.
We recommend this mode when you want to restart nevisAuth without user impact and for deployments to Kubernetes.
Typically, while a user is logging in, multiple requests are sent to nevisAuth.
If you configure multiple replicas of nevisAuth, the Kubernetes service may forward these requests to any of the replicas.
By selecting always, you ensure that all replicas can access the user's session during the authentication process.
recommended (default)
Uses always when deploying to Kubernetes and after-successful-authentication for classic, VM-based deployments.
Custom Attributes
Add or overwrite attributes of the RemoteSessionStore and RemoteOutOfContextDataStore XML elements.
Supported attributes are described in the Nevis documentation:
If you want to set an attribute only on one of the 2 elements use the prefix session: or oocd: as illustrated below.
Examples:
| Attribute | Value |
|---|---|
session:syncPullInitial | true |
session:reaperThreads | 5 |
session:storeUnauthenticatedSessions | false |
oocd:reaperPeriod | 120 |
Connection Parameters
Enter parameters for the DB connection string.
The default value will be used only when no parameters are entered.
If you want to keep the default parameters, add them as well.
Enter 1 parameter per line.
Lines will be joined with &.
Examples (from various Nevis components):
pinGlobalTxToPhysicalConnection=1
useMysqlMetadata=true
autocommit=0
Connection URL
Set only if you have to use a JDBC connection string which the pattern cannot generate.
If the prefix of the connection string works for you
and you only have to add or overwrite query parameters, set Connection Parameters instead.
If you have to use this setting, please consult your setup with your integration partner.
In Kubernetes deployments the connection string configured here is used by the component only. It is not used to set up and migrate the database schema.
Thus, this setting should only be used in classic deployments,
or when Database Management is disabled.
Instead of using 'jdbc:mysql' either
- Use the high-level configuration for the Database Host instead of providing a custom URL
- Add the query parameter permitMysqlScheme to the custom URL
nevisAuth Instance
Plugin: nevisadmin-plugin-nevisauth
Represents a nevisAuth instance. The instance is named according to the pattern.
Hint for pattern renaming
When the 'Instance Name' property is not filled, the pattern uses the pattern's name as instance directory at the target host.
To rename the pattern, do the following:
- Rename the pattern in the GUI.
- Rename the instance directory and associated systemd files on the deployment hosts.
- Deploy.
In case step 2 is omitted the old instance is shut down during deployment.
For more information, see technical documentation: User Guide / Configuration Projects / Working with Patterns.
Port
Port the nevisAuth instance is listening on.
Instance Name
Enter the instance name.
If not set, the pattern name will be used as the instance name.
When deploying to Kubernetes, this setting will be ignored and the instance name will be default.
Log Settings
Add logging configuration for nevisAuth.
Database
By default, nevisAuth stores sessions and out of context data in memory.
In most setups you should use a database instead, and you should assign a nevisAuth Database pattern here.
In memory should be used only when there is only 1 line / pod of nevisAuth, or in a classic deployment where nevisProxy can ensure session-sticky load balancing towards nevisAuth.
Languages
Configure the language codes that shall be supported.
Each language code must be entered on a new line. By default, translations are provided for the following codes:
en: Englishde: Germanfr: Frenchit: Italian
nevisAuth uses the Accept-Language header sent by the browser to determine the user language.
In case this header is not available the first configured language code will be used as a default.
Frontend Key Store
This setting specifies the key store used for the HTTPS endpoint.
The certificate in the key store must be valid for all frontend addresses.
In Kubernetes deployments, the certificate subject must contain a CN entry with the service name.
If no pattern is assigned, automatic key management will provide a key store.