Configure VaultConfigurator direct proxy in NPM and update topology docs

This commit is contained in:
2026-11-07 15:19:19 -05:00
parent 40e504c2fe
commit e0ebc120ee
12 changed files with 202 additions and 13 deletions

View File

@@ -0,0 +1,18 @@
import urllib.request
import ssl
import json
ctx = ssl.create_default_context()
ctx.check_hostname = False
ctx.verify_mode = ssl.CERT_NONE
token = "SnarfNetPermanentAutomationToken2026"
headers = {
"Authorization": f"Bearer {token}",
"Content-Type": "application/json"
}
req = urllib.request.Request("https://authentik.snarfnet.net/api/v3/providers/proxy/24/", headers=headers)
with urllib.request.urlopen(req, context=ctx) as resp:
p = json.loads(resp.read().decode())
print(json.dumps(p, indent=2))