From 25b2e539fc99f2c60bbb74d3f4c5e212a741da53 Mon Sep 17 00:00:00 2001 From: Chris Lovering Date: Fri, 2 Feb 2024 16:17:40 +0000 Subject: Mark bot token & CF token as secret strings This avoids them being printed in logs --- arthur/apis/cloudflare/zones.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arthur/apis/cloudflare/zones.py') 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( -- cgit v1.2.3