aboutsummaryrefslogtreecommitdiffstats
path: root/arthur/apis/cloudflare/zones.py
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2024-02-02 16:17:40 +0000
committerGravatar Chris Lovering <[email protected]>2024-02-02 16:17:40 +0000
commit25b2e539fc99f2c60bbb74d3f4c5e212a741da53 (patch)
treed387537f332dcdac2e3f0ff8b310615d04b3a308 /arthur/apis/cloudflare/zones.py
parentEnable all ruff rules (diff)
Mark bot token & CF token as secret strings
This avoids them being printed in logs
Diffstat (limited to 'arthur/apis/cloudflare/zones.py')
-rw-r--r--arthur/apis/cloudflare/zones.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/arthur/apis/cloudflare/zones.py b/arthur/apis/cloudflare/zones.py
index 1139d25..4e017f8 100644
--- a/arthur/apis/cloudflare/zones.py
+++ b/arthur/apis/cloudflare/zones.py
@@ -4,7 +4,7 @@ import aiohttp
from arthur.config import CONFIG
-AUTH_HEADER = {"Authorization": f"Bearer {CONFIG.cloudflare_token}"}
+AUTH_HEADER = {"Authorization": f"Bearer {CONFIG.cloudflare_token.get_secret_value()}"}
async def list_zones(