aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2024-07-26 14:54:23 +0100
committerGravatar Joe Banks <[email protected]>2024-07-26 14:54:23 +0100
commit4f4788db7d92bc422945df96b9f58a97ab3604c0 (patch)
tree31787f39caad1e334ae0d18049e3aed9b06262bd
parentAdd new dependencies (diff)
Add new config options
-rw-r--r--arthur/config.py19
1 files changed, 19 insertions, 0 deletions
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")