diff options
author | 2024-08-19 12:11:31 +0100 | |
---|---|---|
committer | 2024-08-19 12:11:31 +0100 | |
commit | c63b74bd0290b5adcc913b9bf0f5465ae79d5d77 (patch) | |
tree | ad5ed1c92f09e18846b5553e6be8b067d328cdc2 /arthur/config.py | |
parent | Allow loading the bot without a github_token set (diff) |
Allow loading the bot without LDAP env vars set
Diffstat (limited to 'arthur/config.py')
-rw-r--r-- | arthur/config.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arthur/config.py b/arthur/config.py index 4d31103..bed026c 100644 --- a/arthur/config.py +++ b/arthur/config.py @@ -36,18 +36,18 @@ class Config( enable_ldap: bool = False - ldap_host: pydantic.AnyUrl + ldap_host: pydantic.AnyUrl | None = None ldap_bind_user: str = "uid=kingarthur,cn=users,cn=accounts,dc=box,dc=pydis,dc=wtf" - ldap_bind_password: pydantic.SecretStr + ldap_bind_password: pydantic.SecretStr | None = None ldap_base_dn: str = "dc=box,dc=pydis,dc=wtf" - ldap_certificate_location: pydantic.FilePath + ldap_certificate_location: pydantic.FilePath | None = None # Keycloak - keycloak_address: pydantic.AnyUrl + keycloak_address: pydantic.AnyUrl | None = None keycloak_username: str = "kingarthur" - keycloak_password: pydantic.SecretStr + keycloak_password: pydantic.SecretStr | None = None keycloak_user_realm: str = "pydis" |