Built in variables in templates
This page shows the variables supported in template files by the administrative CLI instance creation command.
Remarks
- Environment variable values will not be used unless stated in the list below.
- Some variables are only defined for the sake of completeness or legacy reasons. Not all variables listed here are used in the current default templates.
- The "Used in templates" remarks in the below list shows which variables are used in the default templates supplied by nevisAuth.
grep -ohr "@[A-Za-z0-9_]*@" /opt/nevisauth/template | grep -v "^Binary" | sort | uniq
grep -r "@SERVER_URL_PROTOCOL@" /opt/nevisauth/template | sort
Server configuration
-
AUTH_SERVER_URLDefault value:
https://localhost:8991Used in template: indirectly
Short form to set all 3 SERVER_URL_* properties (listed below) at once. If any of the 3 variables below are provided, those will override the specific part of this URL
-
SERVER_URL_PROTOCOLDefault value:
httpsUsed in template: yes
If not provided, the protocol part of AUTH_SERVER_URL will be used. If that was not specified, we set the default.
-
SERVER_URL_SERVERDefault value:
localhostUsed in template: yes
If not provided, the host part of AUTH_SERVER_URL will be used. If that was not specified, we set the default.
-
SERVER_URL_PORTDefault value:
8991Used in template: yes
If not provided, the port part of AUTH_SERVER_URL will be used. If that was not specified, we set the default.
-
SERVER_MANAGEMENT_PORTDefault value:
<SERVER_URL_PORT> + 9Used in template: yes
-
SERVER_SSL_KEYSTOREDefault value:
<KEYBOX_VAR>/default/node_keystore.jksUsed in template: yes
-
SERVER_SSL_KEYSTORE_TYPEDefault value:
JKS -
SERVER_SSL_KEYSTORE_PASSWORDDefault value:
PASSPHRASEUsed in template: yes
-
SERVER_SSL_TRUSTSTOREDefault value:
<KEYBOX_VAR>/default/truststore.jksUsed in template: yes
-
SERVER_SSL_TRUSTSTORE_TYPEDefault value:
JKSUsed in template: yes
-
SERVER_SSL_TRUSTSTORE_PASSWORDDefault value:
PASSPHRASE -
PASSPHRASEDefault value:
passwordUsed in template: indirectly
If the
PASSPHRASEis not supplied, but aPASSPHRASEenvironment variable is defined, neviAuth will use the latter, otherwise the default one.
Environment configuration
-
JAVA_HOMEDefault value: nA
Used in template: yes
-
JVM_INITIAL_HEAPDefault value:
256mUsed in template: yes
-
JVM_MAX_HEAPDefault value:
1024mUsed in template: yes
-
AUTH_TRANSPORT_KEYSTOREDefault value:
<KEYBOX_VAR>/default/node_keystore.jks -
AUTH_TRANSPORT_KEYSTORE_TYPEDefault value:
JKS -
AUTH_TRANSPORT_KEYSTORE_PASSWORDDefault value:
{PASSPHRASE} -
AUTH_TRANSPORT_TRUSTSTOREDefault value:
<KEYBOX_VAR>/default/truststore.jksUsed in template: yes
Used in
-Djavax.net.ssl.trustStoreinJAVA_OPTS -
AUTH_TRANSPORT_TRUSTSTORE_TYPEDefault value:
JKSUsed in template: yes
-
AUTH_TRANSPORT_TRUSTSTORE_PASSWORDDefault value:
{PASSPHRASE}Used in template: yes
NevisAuth configuration
-
AUTH_STATE_CLASSPATHDefault value:
/var/opt/nevisauth/{instance}/plugin:/opt/nevsauth/plugin:Used in template: yes
classPathattribute of theAuthEngineelement -
AUTH_SIGNER_SLOTDefault value:
nevisUsed in template: indirectly
-
AUTH_SIGNER_LABELDefault value:
authSignerUsed in template: indirectly
-
AUTH_SIGNER_KEYSTOREDefault value:
<KEYBOX_HOME>/<AUTH_SIGNER_SLOT>/<AUTH_SIGNER_LABEL>_keystore.jks?alias=<AUTH_SIGNER_LABEL>Used in template: yes
DefaultSigner KeyObject privateKeyproperty -
AUTH_SIGNER_PASSWORDDefault value:
pipe://<KEYBOX_HOME>/<KEYBOX_VERSION>/bin/keystorepwget <AUTH_SIGNER_KEYSTORE>Used in template: yes
DefaultSigner KeyObject passPhraseproperty -
AUTH_SIGNER_TRUSTSTOREDefault value:
<AUTH_SIGNER_KEYSTORE>Used in template: yes
DefaultSigner KeyObject certificateproperty -
AUTH_SIGNER_PKCS11_SLOTDefault value:
1Used in template: yes
-
AUTH_SIGNER_PKCS11_LIBRARYDefault value:
/usr/lib/libpkcs11.soUsed in template: yes
Configuration file location related
-
AUTH_CONFIG_AUTHDefault value:
/var/opt/nevisauth/{instance}/conf/esauth4.xml -
AUTH_CONFIG_LOGDefault value:
/var/opt/nevisauth/{instance}/conf/bc.properties -
AUTH_CONFIG_SECDefault value:
/var/opt/nevisauth/{instance}/conf/esauth4.security -
AUTH_CONFIG_JAASDefault value:
/var/opt/nevisauth/{instance}/conf/jaas.confUsed in template: yes
-
KRB5_CONFIGDefault value:
/var/opt/nevisauth/{instance}/conf/java-krb5.confUsed in template: yes
-
KRB_CREDS_CONFIGDefault value:
/var/opt/nevisauth/{instance}/conf/kerberos-credentials.properties -
NEVISEVENTS_CONFIGDefault value:
/var/opt/nevisauth/{instance}/conf/nevisevents.xml -
AUTH_LOGFILEDefault value:
/var/opt/nevisauth/{instance}/log/esauth4sv.logUsed in template: yes
Only used in bc.properties
Keybox
-
KEYBOX_VARDefault value:
/opt/neviskeyboxUsed in template: indirectly
-
KEYBOX_HOMEDefault value:
/var/opt/keyboxUsed in template: indirectly
-
KEYBOX_VERSIONDefault value: nA
Used in template: indirectly
Other
-
PKG_INSTANCEDefault value:
{instance}Used in template: yes
The
{instance}name specified in thenevisauth inst createcommand. -
PKG_VARDefault value:
/var/opt/nevisauth/{instance}Used in template: yes
-
AUTH_SERVER_HOSTDefault value:
{SERVER_URL_SERVER}Used in template: yes
Only used in jaas.conf