380 lines
9.0 KiB
Plaintext
380 lines
9.0 KiB
Plaintext
// set the attribute to true or leave empty, true without any quotes.
|
|
// if the generated adoc file is used outside tabs, it renders correctly depending on the attribute set.
|
|
// if inside, you need to also use the xxx_deprecation.adoc file. attributes can't be defined inside tabs.
|
|
|
|
:show-deprecation: false
|
|
|
|
ifeval::[{show-deprecation} == true]
|
|
|
|
[#deprecation-note-2025-04-24-00-36-05]
|
|
[caption=]
|
|
.Deprecation notes for the auth-app service
|
|
[width="100%",cols="~,~,~,~",options="header"]
|
|
|===
|
|
| Deprecation Info
|
|
| Deprecation Version
|
|
| Removal Version
|
|
| Deprecation Replacement
|
|
|===
|
|
|
|
{empty} +
|
|
|
|
endif::[]
|
|
|
|
[caption=]
|
|
.Environment variables for the auth-app service
|
|
[width="100%",cols="~,~,~,~,~",options="header"]
|
|
|===
|
|
| Name
|
|
| IV
|
|
| Type
|
|
| Default Value
|
|
| Description
|
|
|
|
a|`OCIS_TRACING_ENABLED` +
|
|
`AUTH_APP_TRACING_ENABLED` +
|
|
|
|
a| [subs=-attributes]
|
|
++7.0.0 ++
|
|
a| [subs=-attributes]
|
|
++bool ++
|
|
a| [subs=-attributes]
|
|
++false ++
|
|
a| [subs=-attributes]
|
|
Activates tracing.
|
|
|
|
a|`OCIS_TRACING_TYPE` +
|
|
`AUTH_APP_TRACING_TYPE` +
|
|
|
|
a| [subs=-attributes]
|
|
++7.0.0 ++
|
|
a| [subs=-attributes]
|
|
++string ++
|
|
a| [subs=-attributes]
|
|
++ ++
|
|
a| [subs=-attributes]
|
|
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
|
|
|
a|`OCIS_TRACING_ENDPOINT` +
|
|
`AUTH_APP_TRACING_ENDPOINT` +
|
|
|
|
a| [subs=-attributes]
|
|
++7.0.0 ++
|
|
a| [subs=-attributes]
|
|
++string ++
|
|
a| [subs=-attributes]
|
|
++ ++
|
|
a| [subs=-attributes]
|
|
The endpoint of the tracing agent.
|
|
|
|
a|`OCIS_TRACING_COLLECTOR` +
|
|
`AUTH_APP_TRACING_COLLECTOR` +
|
|
|
|
a| [subs=-attributes]
|
|
++7.0.0 ++
|
|
a| [subs=-attributes]
|
|
++string ++
|
|
a| [subs=-attributes]
|
|
++ ++
|
|
a| [subs=-attributes]
|
|
The 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.
|
|
|
|
a|`OCIS_LOG_LEVEL` +
|
|
`AUTH_APP_LOG_LEVEL` +
|
|
|
|
a| [subs=-attributes]
|
|
++7.0.0 ++
|
|
a| [subs=-attributes]
|
|
++string ++
|
|
a| [subs=-attributes]
|
|
++ ++
|
|
a| [subs=-attributes]
|
|
The log level. Valid values are: 'panic', 'fatal', 'error', 'warn', 'info', 'debug', 'trace'.
|
|
|
|
a|`OCIS_LOG_PRETTY` +
|
|
`AUTH_APP_LOG_PRETTY` +
|
|
|
|
a| [subs=-attributes]
|
|
++7.0.0 ++
|
|
a| [subs=-attributes]
|
|
++bool ++
|
|
a| [subs=-attributes]
|
|
++false ++
|
|
a| [subs=-attributes]
|
|
Activates pretty log output.
|
|
|
|
a|`OCIS_LOG_COLOR` +
|
|
`AUTH_APP_LOG_COLOR` +
|
|
|
|
a| [subs=-attributes]
|
|
++7.0.0 ++
|
|
a| [subs=-attributes]
|
|
++bool ++
|
|
a| [subs=-attributes]
|
|
++false ++
|
|
a| [subs=-attributes]
|
|
Activates colorized log output.
|
|
|
|
a|`OCIS_LOG_FILE` +
|
|
`AUTH_APP_LOG_FILE` +
|
|
|
|
a| [subs=-attributes]
|
|
++7.0.0 ++
|
|
a| [subs=-attributes]
|
|
++string ++
|
|
a| [subs=-attributes]
|
|
++ ++
|
|
a| [subs=-attributes]
|
|
The path to the log file. Activates logging to this file if set.
|
|
|
|
a|`AUTH_APP_DEBUG_ADDR` +
|
|
|
|
a| [subs=-attributes]
|
|
++7.0.0 ++
|
|
a| [subs=-attributes]
|
|
++string ++
|
|
a| [subs=-attributes]
|
|
++127.0.0.1:9245 ++
|
|
a| [subs=-attributes]
|
|
Bind address of the debug server, where metrics, health, config and debug endpoints will be exposed.
|
|
|
|
a|`AUTH_APP_DEBUG_TOKEN` +
|
|
|
|
a| [subs=-attributes]
|
|
++7.0.0 ++
|
|
a| [subs=-attributes]
|
|
++string ++
|
|
a| [subs=-attributes]
|
|
++ ++
|
|
a| [subs=-attributes]
|
|
Token to secure the metrics endpoint.
|
|
|
|
a|`AUTH_APP_DEBUG_PPROF` +
|
|
|
|
a| [subs=-attributes]
|
|
++7.0.0 ++
|
|
a| [subs=-attributes]
|
|
++bool ++
|
|
a| [subs=-attributes]
|
|
++false ++
|
|
a| [subs=-attributes]
|
|
Enables pprof, which can be used for profiling.
|
|
|
|
a|`AUTH_APP_DEBUG_ZPAGES` +
|
|
|
|
a| [subs=-attributes]
|
|
++7.0.0 ++
|
|
a| [subs=-attributes]
|
|
++bool ++
|
|
a| [subs=-attributes]
|
|
++false ++
|
|
a| [subs=-attributes]
|
|
Enables zpages, which can be used for collecting and viewing traces in-memory.
|
|
|
|
a|`AUTH_APP_GRPC_ADDR` +
|
|
|
|
a| [subs=-attributes]
|
|
++7.0.0 ++
|
|
a| [subs=-attributes]
|
|
++string ++
|
|
a| [subs=-attributes]
|
|
++127.0.0.1:9246 ++
|
|
a| [subs=-attributes]
|
|
The bind address of the GRPC service.
|
|
|
|
a|`OCIS_GRPC_PROTOCOL` +
|
|
`AUTH_APP_GRPC_PROTOCOL` +
|
|
|
|
a| [subs=-attributes]
|
|
++7.0.0 ++
|
|
a| [subs=-attributes]
|
|
++string ++
|
|
a| [subs=-attributes]
|
|
++tcp ++
|
|
a| [subs=-attributes]
|
|
The transport protocol of the GRPC service.
|
|
|
|
a|`AUTH_APP_HTTP_ADDR` +
|
|
|
|
a| [subs=-attributes]
|
|
++pre5.0 ++
|
|
a| [subs=-attributes]
|
|
++string ++
|
|
a| [subs=-attributes]
|
|
++127.0.0.1:9247 ++
|
|
a| [subs=-attributes]
|
|
The bind address of the HTTP service.
|
|
|
|
a|`AUTH_APP_HTTP_ROOT` +
|
|
|
|
a| [subs=-attributes]
|
|
++pre5.0 ++
|
|
a| [subs=-attributes]
|
|
++string ++
|
|
a| [subs=-attributes]
|
|
++/ ++
|
|
a| [subs=-attributes]
|
|
Subdirectory that serves as the root for this HTTP service.
|
|
|
|
a|`OCIS_CORS_ALLOW_ORIGINS` +
|
|
`AUTH_APP_CORS_ALLOW_ORIGINS` +
|
|
|
|
a| [subs=-attributes]
|
|
++pre5.0 ++
|
|
a| [subs=-attributes]
|
|
++[]string ++
|
|
a| [subs=-attributes]
|
|
++[*] ++
|
|
a| [subs=-attributes]
|
|
A list of allowed CORS origins. See following chapter for more details: *Access-Control-Allow-Origin* at \https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin. See the Environment Variable Types description for more details.
|
|
|
|
a|`OCIS_CORS_ALLOW_METHODS` +
|
|
`AUTH_APP_CORS_ALLOW_METHODS` +
|
|
|
|
a| [subs=-attributes]
|
|
++pre5.0 ++
|
|
a| [subs=-attributes]
|
|
++[]string ++
|
|
a| [subs=-attributes]
|
|
++[GET POST DELETE] ++
|
|
a| [subs=-attributes]
|
|
A list of allowed CORS methods. See following chapter for more details: *Access-Control-Request-Method* at \https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Request-Method. See the Environment Variable Types description for more details.
|
|
|
|
a|`OCIS_CORS_ALLOW_HEADERS` +
|
|
`AUTH_APP_CORS_ALLOW_HEADERS` +
|
|
|
|
a| [subs=-attributes]
|
|
++pre5.0 ++
|
|
a| [subs=-attributes]
|
|
++[]string ++
|
|
a| [subs=-attributes]
|
|
++[Authorization Origin Content-Type Accept X-Requested-With X-Request-Id Ocs-Apirequest] ++
|
|
a| [subs=-attributes]
|
|
A list of allowed CORS headers. See following chapter for more details: *Access-Control-Request-Headers* at \https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Request-Headers. See the Environment Variable Types description for more details.
|
|
|
|
a|`OCIS_CORS_ALLOW_CREDENTIALS` +
|
|
`AUTH_APP_CORS_ALLOW_CREDENTIALS` +
|
|
|
|
a| [subs=-attributes]
|
|
++pre5.0 ++
|
|
a| [subs=-attributes]
|
|
++bool ++
|
|
a| [subs=-attributes]
|
|
++true ++
|
|
a| [subs=-attributes]
|
|
Allow credentials for CORS.See following chapter for more details: *Access-Control-Allow-Credentials* at \https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials.
|
|
|
|
a|`OCIS_HTTP_TLS_ENABLED` +
|
|
|
|
a| [subs=-attributes]
|
|
++pre5.0 ++
|
|
a| [subs=-attributes]
|
|
++bool ++
|
|
a| [subs=-attributes]
|
|
++false ++
|
|
a| [subs=-attributes]
|
|
Activates TLS for the http based services using the server certifcate and key configured via OCIS_HTTP_TLS_CERTIFICATE and OCIS_HTTP_TLS_KEY. If OCIS_HTTP_TLS_CERTIFICATE is not set a temporary server certificate is generated - to be used with PROXY_INSECURE_BACKEND=true.
|
|
|
|
a|`OCIS_HTTP_TLS_CERTIFICATE` +
|
|
|
|
a| [subs=-attributes]
|
|
++pre5.0 ++
|
|
a| [subs=-attributes]
|
|
++string ++
|
|
a| [subs=-attributes]
|
|
++ ++
|
|
a| [subs=-attributes]
|
|
Path/File name of the TLS server certificate (in PEM format) for the http services.
|
|
|
|
a|`OCIS_HTTP_TLS_KEY` +
|
|
|
|
a| [subs=-attributes]
|
|
++pre5.0 ++
|
|
a| [subs=-attributes]
|
|
++string ++
|
|
a| [subs=-attributes]
|
|
++ ++
|
|
a| [subs=-attributes]
|
|
Path/File name for the TLS certificate key (in PEM format) for the server certificate to use for the http services.
|
|
|
|
a|`OCIS_JWT_SECRET` +
|
|
`AUTH_APP_JWT_SECRET` +
|
|
|
|
a| [subs=-attributes]
|
|
++7.0.0 ++
|
|
a| [subs=-attributes]
|
|
++string ++
|
|
a| [subs=-attributes]
|
|
++ ++
|
|
a| [subs=-attributes]
|
|
The secret to mint and validate jwt tokens.
|
|
|
|
a|`OCIS_REVA_GATEWAY` +
|
|
|
|
a| [subs=-attributes]
|
|
++pre5.0 ++
|
|
a| [subs=-attributes]
|
|
++string ++
|
|
a| [subs=-attributes]
|
|
++com.owncloud.api.gateway ++
|
|
a| [subs=-attributes]
|
|
The CS3 gateway endpoint.
|
|
|
|
a|`OCIS_GRPC_CLIENT_TLS_MODE` +
|
|
|
|
a| [subs=-attributes]
|
|
++pre5.0 ++
|
|
a| [subs=-attributes]
|
|
++string ++
|
|
a| [subs=-attributes]
|
|
++ ++
|
|
a| [subs=-attributes]
|
|
TLS mode for grpc connection to the go-micro based grpc services. Possible values are 'off', 'insecure' and 'on'. 'off': disables transport security for the clients. 'insecure' allows using transport security, but disables certificate verification (to be used with the autogenerated self-signed certificates). 'on' enables transport security, including server certificate verification.
|
|
|
|
a|`OCIS_GRPC_CLIENT_TLS_CACERT` +
|
|
|
|
a| [subs=-attributes]
|
|
++pre5.0 ++
|
|
a| [subs=-attributes]
|
|
++string ++
|
|
a| [subs=-attributes]
|
|
++ ++
|
|
a| [subs=-attributes]
|
|
Path/File name for the root CA certificate (in PEM format) used to validate TLS server certificates of the go-micro based grpc services.
|
|
|
|
a|`AUTH_APP_SKIP_USER_GROUPS_IN_TOKEN` +
|
|
|
|
a| [subs=-attributes]
|
|
++7.0.0 ++
|
|
a| [subs=-attributes]
|
|
++bool ++
|
|
a| [subs=-attributes]
|
|
++false ++
|
|
a| [subs=-attributes]
|
|
Disables the encoding of the user's group memberships in the access token. This reduces the token size, especially when users are members of a large number of groups.
|
|
|
|
a|`OCIS_MACHINE_AUTH_API_KEY` +
|
|
`AUTH_APP_MACHINE_AUTH_API_KEY` +
|
|
|
|
a| [subs=-attributes]
|
|
++7.0.0 ++
|
|
a| [subs=-attributes]
|
|
++string ++
|
|
a| [subs=-attributes]
|
|
++ ++
|
|
a| [subs=-attributes]
|
|
The machine auth API key used to validate internal requests necessary to access resources from other services.
|
|
|
|
a|`AUTH_APP_ENABLE_IMPERSONATION` +
|
|
|
|
a| [subs=-attributes]
|
|
++7.0.0 ++
|
|
a| [subs=-attributes]
|
|
++bool ++
|
|
a| [subs=-attributes]
|
|
++false ++
|
|
a| [subs=-attributes]
|
|
Allows admins to create app tokens for other users. Used for migration. Do NOT use in productive deployments.
|
|
|===
|
|
|