Files
ocis/services/_includes/adoc/auth-basic_configvars.adoc
T
Christian Richter e925d82cda commit 9c38cd4807
Merge: 81456c257 62a54a44b
Author: Christian Richter <1058116+dragonchaser@users.noreply.github.com>
Date:   Wed Jul 6 13:43:57 2022 +0200

    Merge pull request #4110 from owncloud/fix_adoc_type

    Fix adoc type + text
2022-07-06 11:48:55 +00:00

472 lines
11 KiB
Plaintext

[caption=]
.Environment variables for the auth-basic extension
[width="100%",cols="~,~,~,~",options="header"]
|===
| Name
| Type
| Default Value
| Description
|`OCIS_TRACING_ENABLED` +
`AUTH_BASIC_TRACING_ENABLED`
a| [subs=-attributes]
+bool+
a| [subs=-attributes]
pass:[false]
a| [subs=-attributes]
Activates tracing.
|`OCIS_TRACING_TYPE` +
`AUTH_BASIC_TRACING_TYPE`
a| [subs=-attributes]
+string+
a| [subs=-attributes]
pass:[]
a| [subs=-attributes]
The type of tracing. Defaults to "", which is the same as "jaeger". Allowed tracing types are "jaeger" and "" as of now.
|`OCIS_TRACING_ENDPOINT` +
`AUTH_BASIC_TRACING_ENDPOINT`
a| [subs=-attributes]
+string+
a| [subs=-attributes]
pass:[]
a| [subs=-attributes]
The endpoint of the tracing agent.
|`OCIS_TRACING_COLLECTOR` +
`AUTH_BASIC_TRACING_COLLECTOR`
a| [subs=-attributes]
+string+
a| [subs=-attributes]
pass:[]
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.
|`OCIS_LOG_LEVEL` +
`AUTH_BASIC_LOG_LEVEL`
a| [subs=-attributes]
+string+
a| [subs=-attributes]
pass:[]
a| [subs=-attributes]
The log level. Valid values are: "panic", "fatal", "error", "warn", "info", "debug", "trace".
|`OCIS_LOG_PRETTY` +
`AUTH_BASIC_LOG_PRETTY`
a| [subs=-attributes]
+bool+
a| [subs=-attributes]
pass:[false]
a| [subs=-attributes]
Activates pretty log output.
|`OCIS_LOG_COLOR` +
`AUTH_BASIC_LOG_COLOR`
a| [subs=-attributes]
+bool+
a| [subs=-attributes]
pass:[false]
a| [subs=-attributes]
Activates colorized log output.
|`OCIS_LOG_FILE` +
`AUTH_BASIC_LOG_FILE`
a| [subs=-attributes]
+string+
a| [subs=-attributes]
pass:[]
a| [subs=-attributes]
The path to the log file. Activates logging to this file if set.
|`AUTH_BASIC_DEBUG_ADDR`
a| [subs=-attributes]
+string+
a| [subs=-attributes]
pass:[127.0.0.1:9147]
a| [subs=-attributes]
Bind address of the debug server, where metrics, health, config and debug endpoints will be exposed.
|`AUTH_BASIC_DEBUG_TOKEN`
a| [subs=-attributes]
+string+
a| [subs=-attributes]
pass:[]
a| [subs=-attributes]
Token to secure the metrics endpoint
|`AUTH_BASIC_DEBUG_PPROF`
a| [subs=-attributes]
+bool+
a| [subs=-attributes]
pass:[false]
a| [subs=-attributes]
Enables pprof, which can be used for profiling
|`AUTH_BASIC_DEBUG_ZPAGES`
a| [subs=-attributes]
+bool+
a| [subs=-attributes]
pass:[false]
a| [subs=-attributes]
Enables zpages, which can be used for collecting and viewing traces in-memory.
|`AUTH_BASIC_GRPC_ADDR`
a| [subs=-attributes]
+string+
a| [subs=-attributes]
pass:[127.0.0.1:9146]
a| [subs=-attributes]
The bind address of the GRPC service.
|`AUTH_BASIC_GRPC_PROTOCOL`
a| [subs=-attributes]
+string+
a| [subs=-attributes]
pass:[tcp]
a| [subs=-attributes]
The transport protocol of the grpc service.
|`OCIS_JWT_SECRET` +
`AUTH_BASIC_JWT_SECRET`
a| [subs=-attributes]
+string+
a| [subs=-attributes]
pass:[]
a| [subs=-attributes]
The secret to mint and validate jwt tokens.
|`REVA_GATEWAY`
a| [subs=-attributes]
+string+
a| [subs=-attributes]
pass:[127.0.0.1:9142]
a| [subs=-attributes]
The CS3 gateway endpoint.
|`AUTH_BASIC_SKIP_USER_GROUPS_IN_TOKEN`
a| [subs=-attributes]
+bool+
a| [subs=-attributes]
pass:[false]
a| [subs=-attributes]
Disables the encoding of the user's group memberships in the reva access token. This reduces the token size, especially when users are members of a large number of groups.
|`AUTH_BASIC_AUTH_PROVIDER`
a| [subs=-attributes]
+string+
a| [subs=-attributes]
pass:[ldap]
a| [subs=-attributes]
The auth provider which should be used by the service (e.g. 'ldap').
|`LDAP_URI` +
`AUTH_BASIC_LDAP_URI`
a| [subs=-attributes]
+string+
a| [subs=-attributes]
pass:[ldaps://localhost:9235]
a| [subs=-attributes]
URI of the LDAP Server to connect to. Supported URI schemes are 'ldaps://' and 'ldap://'
|`LDAP_CACERT` +
`AUTH_BASIC_LDAP_CACERT`
a| [subs=-attributes]
+string+
a| [subs=-attributes]
pass:[~/.ocis/idm/ldap.crt]
a| [subs=-attributes]
Path to a CA certificate file for validating the LDAP server's TLS certificate. If empty the system default CA bundle will be used.
|`LDAP_INSECURE` +
`AUTH_BASIC_LDAP_INSECURE`
a| [subs=-attributes]
+bool+
a| [subs=-attributes]
pass:[false]
a| [subs=-attributes]
Disable TLS certificate validation for the LDAP connections. Do not set this in production environments.
|`LDAP_BIND_DN` +
`AUTH_BASIC_LDAP_BIND_DN`
a| [subs=-attributes]
+string+
a| [subs=-attributes]
pass:[uid=reva,ou=sysusers,o=libregraph-idm]
a| [subs=-attributes]
LDAP DN to use for simple bind authentication with the target LDAP server.
|`LDAP_BIND_PASSWORD` +
`AUTH_BASIC_LDAP_BIND_PASSWORD`
a| [subs=-attributes]
+string+
a| [subs=-attributes]
pass:[]
a| [subs=-attributes]
Password to use for authenticating the 'bind_dn'.
|`LDAP_USER_BASE_DN` +
`AUTH_BASIC_LDAP_USER_BASE_DN`
a| [subs=-attributes]
+string+
a| [subs=-attributes]
pass:[ou=users,o=libregraph-idm]
a| [subs=-attributes]
Search base DN for looking up LDAP users.
|`LDAP_GROUP_BASE_DN` +
`AUTH_BASIC_LDAP_GROUP_BASE_DN`
a| [subs=-attributes]
+string+
a| [subs=-attributes]
pass:[ou=groups,o=libregraph-idm]
a| [subs=-attributes]
Search base DN for looking up LDAP groups.
|`LDAP_USER_SCOPE` +
`AUTH_BASIC_LDAP_USER_SCOPE`
a| [subs=-attributes]
+string+
a| [subs=-attributes]
pass:[sub]
a| [subs=-attributes]
LDAP search scope to use when looking up users ('base', 'one', 'sub').
|`LDAP_GROUP_SCOPE` +
`AUTH_BASIC_LDAP_GROUP_SCOPE`
a| [subs=-attributes]
+string+
a| [subs=-attributes]
pass:[sub]
a| [subs=-attributes]
LDAP search scope to use when looking up gruops ('base', 'one', 'sub').
|`LDAP_USER_FILTER` +
`AUTH_BASIC_LDAP_USER_FILTER`
a| [subs=-attributes]
+string+
a| [subs=-attributes]
pass:[]
a| [subs=-attributes]
LDAP filter to add to the default filters for user search (e.g. '(objectclass=ownCloud)').
|`LDAP_GROUP_FILTER` +
`AUTH_BASIC_LDAP_GROUP_FILTER`
a| [subs=-attributes]
+string+
a| [subs=-attributes]
pass:[]
a| [subs=-attributes]
LDAP filter to add to the default filters for group searches.
|`LDAP_USER_OBJECTCLASS` +
`AUTH_BASIC_LDAP_USER_OBJECTCLASS`
a| [subs=-attributes]
+string+
a| [subs=-attributes]
pass:[inetOrgPerson]
a| [subs=-attributes]
The object class to use for users in the default user search filter ('inetOrgPerson').
|`LDAP_GROUP_OBJECTCLASS` +
`AUTH_BASIC_LDAP_GROUP_OBJECTCLASS`
a| [subs=-attributes]
+string+
a| [subs=-attributes]
pass:[groupOfNames]
a| [subs=-attributes]
The object class to use for groups in the default group search filter ('groupOfNames').
|`LDAP_LOGIN_ATTRIBUTES` +
`AUTH_BASIC_LDAP_LOGIN_ATTRIBUTES`
a| [subs=-attributes]
++
a| [subs=-attributes]
pass:[[uid mail]]
a| [subs=-attributes]
The user object attributes, that can be used for login.
|`OCIS_URL` +
`OCIS_OIDC_ISSUER` +
`AUTH_BASIC_IDP_URL`
a| [subs=-attributes]
+string+
a| [subs=-attributes]
pass:[https://localhost:9200]
a| [subs=-attributes]
The identity provider value to set in the userids of the CS3 user objects for users returned by this user provider.
|`LDAP_USER_SCHEMA_ID` +
`AUTH_BASIC_LDAP_USER_SCHEMA_ID`
a| [subs=-attributes]
+string+
a| [subs=-attributes]
pass:[ownclouduuid]
a| [subs=-attributes]
LDAP Attribute to use as the unique id for users. This should be a stable globally unique id (e.g. a UUID).
|`LDAP_USER_SCHEMA_ID_IS_OCTETSTRING` +
`AUTH_BASIC_LDAP_USER_SCHEMA_ID_IS_OCTETSTRING`
a| [subs=-attributes]
+bool+
a| [subs=-attributes]
pass:[false]
a| [subs=-attributes]
Set this to true if the defined 'id' attribute for users is of the 'OCTETSTRING' syntax. This is e.g. required when using the 'objectGUID' attribute of Active Directory for the user ids.
|`LDAP_USER_SCHEMA_MAIL` +
`AUTH_BASIC_LDAP_USER_SCHEMA_MAIL`
a| [subs=-attributes]
+string+
a| [subs=-attributes]
pass:[mail]
a| [subs=-attributes]
LDAP Attribute to use for the email address of users.
|`LDAP_USER_SCHEMA_DISPLAYNAME` +
`AUTH_BASIC_LDAP_USER_SCHEMA_DISPLAYNAME`
a| [subs=-attributes]
+string+
a| [subs=-attributes]
pass:[displayname]
a| [subs=-attributes]
LDAP Attribute to use for the displayname of users.
|`LDAP_USER_SCHEMA_USERNAME` +
`AUTH_BASIC_LDAP_USER_SCHEMA_USERNAME`
a| [subs=-attributes]
+string+
a| [subs=-attributes]
pass:[uid]
a| [subs=-attributes]
LDAP Attribute to use for username of users.
|`LDAP_GROUP_SCHEMA_ID` +
`AUTH_BASIC_LDAP_GROUP_SCHEMA_ID`
a| [subs=-attributes]
+string+
a| [subs=-attributes]
pass:[ownclouduuid]
a| [subs=-attributes]
LDAP Attribute to use as the unique id for groups. This should be a stable globally unique id (e.g. a UUID).
|`LDAP_GROUP_SCHEMA_ID_IS_OCTETSTRING` +
`AUTH_BASIC_LDAP_GROUP_SCHEMA_ID_IS_OCTETSTRING`
a| [subs=-attributes]
+bool+
a| [subs=-attributes]
pass:[false]
a| [subs=-attributes]
Set this to true if the defined 'id' attribute for groups is of the 'OCTETSTRING' syntax. This is e.g. required when using the 'objectGUID' attribute of Active Directory for the group ids.
|`LDAP_GROUP_SCHEMA_MAIL` +
`AUTH_BASIC_LDAP_GROUP_SCHEMA_MAIL`
a| [subs=-attributes]
+string+
a| [subs=-attributes]
pass:[mail]
a| [subs=-attributes]
LDAP Attribute to use for the email address of groups (can be empty).
|`LDAP_GROUP_SCHEMA_DISPLAYNAME` +
`AUTH_BASIC_LDAP_GROUP_SCHEMA_DISPLAYNAME`
a| [subs=-attributes]
+string+
a| [subs=-attributes]
pass:[cn]
a| [subs=-attributes]
LDAP Attribute to use for the displayname of groups (often the same as groupname attribute)
|`LDAP_GROUP_SCHEMA_GROUPNAME` +
`AUTH_BASIC_LDAP_GROUP_SCHEMA_GROUPNAME`
a| [subs=-attributes]
+string+
a| [subs=-attributes]
pass:[cn]
a| [subs=-attributes]
LDAP Attribute to use for the name of groups
|`LDAP_GROUP_SCHEMA_MEMBER` +
`AUTH_BASIC_LDAP_GROUP_SCHEMA_MEMBER`
a| [subs=-attributes]
+string+
a| [subs=-attributes]
pass:[member]
a| [subs=-attributes]
LDAP Attribute that is used for group members.
|`AUTH_BASIC_OWNCLOUDSQL_DB_USERNAME`
a| [subs=-attributes]
+string+
a| [subs=-attributes]
pass:[owncloud]
a| [subs=-attributes]
Database user to use for authenticating with the owncloud database.
|`AUTH_BASIC_OWNCLOUDSQL_DB_PASSWORD`
a| [subs=-attributes]
+string+
a| [subs=-attributes]
pass:[]
a| [subs=-attributes]
Password for the database user.
|`AUTH_BASIC_OWNCLOUDSQL_DB_HOST`
a| [subs=-attributes]
+string+
a| [subs=-attributes]
pass:[mysql]
a| [subs=-attributes]
Hostname of the database server.
|`AUTH_BASIC_OWNCLOUDSQL_DB_PORT`
a| [subs=-attributes]
+int+
a| [subs=-attributes]
pass:[3306]
a| [subs=-attributes]
Network port to use for the database connection.
|`AUTH_BASIC_OWNCLOUDSQL_DB_NAME`
a| [subs=-attributes]
+string+
a| [subs=-attributes]
pass:[owncloud]
a| [subs=-attributes]
Name of the owncloud database.
|`AUTH_BASIC_OWNCLOUDSQL_IDP`
a| [subs=-attributes]
+string+
a| [subs=-attributes]
pass:[https://localhost:9200]
a| [subs=-attributes]
The identity provider value to set in the userids of the CS3 user objects for users returned by this user provider.
|`AUTH_BASIC_OWNCLOUDSQL_NOBODY`
a| [subs=-attributes]
+int64+
a| [subs=-attributes]
pass:[90]
a| [subs=-attributes]
Fallback number if no numeric UID and GID properties are provided.
|`AUTH_BASIC_OWNCLOUDSQL_JOIN_USERNAME`
a| [subs=-attributes]
+bool+
a| [subs=-attributes]
pass:[false]
a| [subs=-attributes]
Join the user properties table to read usernames
|`AUTH_BASIC_OWNCLOUDSQL_JOIN_OWNCLOUD_UUID`
a| [subs=-attributes]
+bool+
a| [subs=-attributes]
pass:[false]
a| [subs=-attributes]
Join the user properties table to read user ids (boolean).
|===
Since Version: `+` added, `-` deprecated