From 4f4788db7d92bc422945df96b9f58a97ab3604c0 Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Fri, 26 Jul 2024 14:54:23 +0100 Subject: Add new config options --- arthur/config.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'arthur/config.py') diff --git a/arthur/config.py b/arthur/config.py index 59014a8..692957a 100644 --- a/arthur/config.py +++ b/arthur/config.py @@ -27,8 +27,27 @@ class Config( devops_role: int = 409416496733880320 guild_id: int = 267624335836053506 devops_channel_id: int = 675756741417369640 + ldap_bootstrap_channel_id: int = 1266358923875586160 sentry_dsn: str = "" + # LDAP & Directory + # + # FreeIPA accesses are generated off this information + + ldap_host: pydantic.AnyUrl + ldap_bind_user: str = "uid=kingarthur,cn=users,cn=accounts,dc=box,dc=pydis,dc=wtf" + ldap_bind_password: pydantic.SecretStr + ldap_base_dn: str = "dc=box,dc=pydis,dc=wtf" + + ldap_certificate_location: pydantic.FilePath + + # Keycloak + + keycloak_address: pydantic.AnyUrl + keycloak_username: str = "kingarthur" + keycloak_password: pydantic.SecretStr + keycloak_user_realm: str = "pydis" + GIT_SHA = environ.get("GIT_SHA", "development") -- cgit v1.2.3