Zum Hauptinhalt springen

Environment Variables

Environment variables for the idm service

NameIntroduction VersionTypeDescriptionDefault Value
OC_TRACING_ENABLED
IDM_TRACING_ENABLED
1.0.0boolActivates tracing.false
OC_TRACING_TYPE
IDM_TRACING_TYPE
1.0.0stringThe type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
OC_TRACING_ENDPOINT
IDM_TRACING_ENDPOINT
1.0.0stringThe endpoint of the tracing agent.
OC_TRACING_COLLECTOR
IDM_TRACING_COLLECTOR
1.0.0stringThe HTTP endpoint for sending spans directly to a collector, i.e. \http://jaeger-collector:14268/api/traces. Only used if the tracing endpoint is unset.
OC_LOG_LEVEL
IDM_LOG_LEVEL
1.0.0stringThe log level. Valid values are: 'panic', 'fatal', 'error', 'warn', 'info', 'debug', 'trace'.
OC_LOG_PRETTY
IDM_LOG_PRETTY
1.0.0boolActivates pretty log output.false
OC_LOG_COLOR
IDM_LOG_COLOR
1.0.0boolActivates colorized log output.false
OC_LOG_FILE
IDM_LOG_FILE
1.0.0stringThe path to the log file. Activates logging to this file if set.
IDM_DEBUG_ADDR1.0.0stringBind address of the debug server, where metrics, health, config and debug endpoints will be exposed.127.0.0.1:9239
IDM_DEBUG_TOKEN1.0.0stringToken to secure the metrics endpoint.
IDM_DEBUG_PPROF1.0.0boolEnables pprof, which can be used for profiling.false
IDM_DEBUG_ZPAGES1.0.0boolEnables zpages, which can be used for collecting and viewing in-memory traces.false
IDM_LDAPS_ADDR1.0.0stringListen address for the LDAPS listener (ip-addr:port).127.0.0.1:9235
IDM_LDAPS_CERT1.0.0stringFile name of the TLS server certificate for the LDAPS listener. If not defined, the root directory derives from $OC_BASE_DATA_PATH/idm./home/chaser/.opencloud/idm/ldap.crt
IDM_LDAPS_KEY1.0.0stringFile name for the TLS certificate key for the server certificate. If not defined, the root directory derives from $OC_BASE_DATA_PATH/idm./home/chaser/.opencloud/idm/ldap.key
IDM_DATABASE_PATH1.0.0stringFull path to the IDM backend database. If not defined, the root directory derives from $OC_BASE_DATA_PATH/idm./home/chaser/.opencloud/idm/idm.boltdb
IDM_CREATE_DEMO_USERS1.0.0boolFlag to enable or disable the creation of the demo users.false
OC_URL
OC_OIDC_ISSUER
1.0.0stringThe OIDC issuer URL to assign to the demo users.https://localhost:9200
IDM_ADMIN_PASSWORD1.0.0stringPassword to set for the OpenCloud 'admin' user. Either cleartext or an argon2id hash.
IDM_SVC_PASSWORD1.0.0stringPassword to set for the 'idm' service user. Either cleartext or an argon2id hash.
IDM_REVASVC_PASSWORD1.0.0stringPassword to set for the 'reva' service user. Either cleartext or an argon2id hash.
IDM_IDPSVC_PASSWORD1.0.0stringPassword to set for the 'idp' service user. Either cleartext or an argon2id hash.
OC_ADMIN_USER_ID
IDM_ADMIN_USER_ID
1.0.0stringID of the user that should receive admin privileges. Consider that the UUID can be encoded in some LDAP deployment configurations like in .ldif files. These need to be decoded beforehand.