diff options
author | 2024-02-02 16:17:40 +0000 | |
---|---|---|
committer | 2024-02-02 16:17:40 +0000 | |
commit | 25b2e539fc99f2c60bbb74d3f4c5e212a741da53 (patch) | |
tree | d387537f332dcdac2e3f0ff8b310615d04b3a308 /arthur/apis/cloudflare/zones.py | |
parent | Enable 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.py | 2 |
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( |