diff --git a/translatePosts.py b/translatePosts.py
index b098d5310a8ef7a262a860d85c664eb58736e451..c5d07be8a60ea0e5c4df03d1aa23efd51089fc43 100644
--- a/translatePosts.py
+++ b/translatePosts.py
@@ -4,8 +4,7 @@ import deepl
 import io
 from os.path import exists
 
-auth_key = "49a47c30-2625-47f8-9ecb-3aec8a52329c:fx"  # Replace with your key
-translator = deepl.Translator(auth_key)
+translator = deepl.Translator(os.environ.get("DEEPL_KEY"))
 
 path = ("content/posts/")
 print(path)